diff options
Diffstat (limited to 'MediaBrowser.Model/Session')
| -rw-r--r-- | MediaBrowser.Model/Session/PlayerStateInfo.cs | 11 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/SessionInfoDto.cs | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Session/PlayerStateInfo.cs b/MediaBrowser.Model/Session/PlayerStateInfo.cs index c9afef8e0..24f9ef3e0 100644 --- a/MediaBrowser.Model/Session/PlayerStateInfo.cs +++ b/MediaBrowser.Model/Session/PlayerStateInfo.cs @@ -56,4 +56,15 @@ /// <value>The play method.</value> public PlayMethod? PlayMethod { get; set; } } + + public class TranscodingInfo + { + public string AudioCodec { get; set; } + public string VideoCodec { get; set; } + public string Container { get; set; } + public int? Bitrate { get; set; } + + public float? Framerate { get; set; } + public double? CompletionPercentage { get; set; } + } }
\ No newline at end of file diff --git a/MediaBrowser.Model/Session/SessionInfoDto.cs b/MediaBrowser.Model/Session/SessionInfoDto.cs index 46e214d24..7217e28f4 100644 --- a/MediaBrowser.Model/Session/SessionInfoDto.cs +++ b/MediaBrowser.Model/Session/SessionInfoDto.cs @@ -137,6 +137,8 @@ namespace MediaBrowser.Model.Session public PlayerStateInfo PlayState { get; set; } + public TranscodingInfo TranscodingInfo { get; set; } + public event PropertyChangedEventHandler PropertyChanged; public SessionInfoDto() |
