|
|
|
@ -180,7 +180,13 @@ public class FFmpegPlaybackSettingsCalculator |
|
|
|
ThreadCount = 1, |
|
|
|
ThreadCount = 1, |
|
|
|
FormatFlags = CommonFormatFlags, |
|
|
|
FormatFlags = CommonFormatFlags, |
|
|
|
VideoFormat = ffmpegProfile.VideoFormat, |
|
|
|
VideoFormat = ffmpegProfile.VideoFormat, |
|
|
|
|
|
|
|
VideoBitrate = ffmpegProfile.VideoBitrate, |
|
|
|
|
|
|
|
VideoBufferSize = ffmpegProfile.VideoBufferSize, |
|
|
|
AudioFormat = ffmpegProfile.AudioFormat, |
|
|
|
AudioFormat = ffmpegProfile.AudioFormat, |
|
|
|
|
|
|
|
AudioBitrate = ffmpegProfile.AudioBitrate, |
|
|
|
|
|
|
|
AudioBufferSize = ffmpegProfile.AudioBufferSize, |
|
|
|
|
|
|
|
AudioChannels = ffmpegProfile.AudioChannels, |
|
|
|
|
|
|
|
AudioSampleRate = ffmpegProfile.AudioSampleRate, |
|
|
|
RealtimeOutput = streamingMode switch |
|
|
|
RealtimeOutput = streamingMode switch |
|
|
|
{ |
|
|
|
{ |
|
|
|
StreamingMode.HttpLiveStreamingSegmenter => hlsRealtime, |
|
|
|
StreamingMode.HttpLiveStreamingSegmenter => hlsRealtime, |
|
|
|
|