aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs28
1 files changed, 24 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 93f3e2d9f..a4abb129b 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1665,8 +1665,21 @@ namespace MediaBrowser.Api.Playback
}
var mediaProfile = state.VideoRequest == null ?
- profile.GetAudioMediaProfile(state.OutputContainer, audioCodec) :
- profile.GetVideoMediaProfile(state.OutputContainer, audioCodec, videoCodec);
+ profile.GetAudioMediaProfile(state.OutputContainer, audioCodec, state.OutputAudioChannels, state.OutputAudioBitrate) :
+ profile.GetVideoMediaProfile(state.OutputContainer,
+ audioCodec,
+ videoCodec,
+ state.OutputAudioBitrate,
+ state.OutputAudioChannels,
+ state.OutputWidth,
+ state.OutputHeight,
+ state.TargetVideoBitDepth,
+ state.OutputVideoBitrate,
+ state.TargetVideoProfile,
+ state.TargetVideoLevel,
+ state.TargetFramerate,
+ state.TargetPacketLength,
+ state.TargetTimestamp);
if (mediaProfile != null)
{
@@ -1752,10 +1765,17 @@ namespace MediaBrowser.Api.Playback
audioCodec,
state.OutputWidth,
state.OutputHeight,
- state.TotalOutputBitrate,
- TransportStreamTimestamp.VALID,
+ state.TargetVideoBitDepth,
+ state.OutputVideoBitrate,
+ state.OutputAudioBitrate,
+ state.OutputAudioChannels,
+ state.TargetTimestamp,
isStaticallyStreamed,
state.RunTimeTicks,
+ state.TargetVideoProfile,
+ state.TargetVideoLevel,
+ state.TargetFramerate,
+ state.TargetPacketLength,
state.TranscodeSeekInfo
);
}