|
|
|
@ -225,7 +225,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
var streamingRequest = new HlsVideoRequestDto
|
|
|
|
|
{
|
|
|
|
|
Id = itemId,
|
|
|
|
|
Static = @static ?? true,
|
|
|
|
|
Static = @static ?? false,
|
|
|
|
|
Params = @params,
|
|
|
|
|
Tag = tag,
|
|
|
|
|
DeviceProfileId = deviceProfileId,
|
|
|
|
@ -249,7 +249,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
Level = level,
|
|
|
|
|
Framerate = framerate,
|
|
|
|
|
MaxFramerate = maxFramerate,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? true,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? false,
|
|
|
|
|
StartTimeTicks = startTimeTicks,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
@ -258,13 +258,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
|
|
|
|
MaxRefFrames = maxRefFrames,
|
|
|
|
|
MaxVideoBitDepth = maxVideoBitDepth,
|
|
|
|
|
RequireAvc = requireAvc ?? true,
|
|
|
|
|
DeInterlace = deInterlace ?? true,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? true,
|
|
|
|
|
RequireAvc = requireAvc ?? false,
|
|
|
|
|
DeInterlace = deInterlace ?? false,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? false,
|
|
|
|
|
TranscodingMaxAudioChannels = transcodingMaxAudioChannels,
|
|
|
|
|
CpuCoreLimit = cpuCoreLimit,
|
|
|
|
|
LiveStreamId = liveStreamId,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? true,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? false,
|
|
|
|
|
VideoCodec = videoCodec,
|
|
|
|
|
SubtitleCodec = subtitleCodec,
|
|
|
|
|
TranscodeReasons = transcodeReasons,
|
|
|
|
@ -392,7 +392,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
var streamingRequest = new HlsAudioRequestDto
|
|
|
|
|
{
|
|
|
|
|
Id = itemId,
|
|
|
|
|
Static = @static ?? true,
|
|
|
|
|
Static = @static ?? false,
|
|
|
|
|
Params = @params,
|
|
|
|
|
Tag = tag,
|
|
|
|
|
DeviceProfileId = deviceProfileId,
|
|
|
|
@ -416,7 +416,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
Level = level,
|
|
|
|
|
Framerate = framerate,
|
|
|
|
|
MaxFramerate = maxFramerate,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? true,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? false,
|
|
|
|
|
StartTimeTicks = startTimeTicks,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
@ -425,13 +425,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
|
|
|
|
MaxRefFrames = maxRefFrames,
|
|
|
|
|
MaxVideoBitDepth = maxVideoBitDepth,
|
|
|
|
|
RequireAvc = requireAvc ?? true,
|
|
|
|
|
DeInterlace = deInterlace ?? true,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? true,
|
|
|
|
|
RequireAvc = requireAvc ?? false,
|
|
|
|
|
DeInterlace = deInterlace ?? false,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? false,
|
|
|
|
|
TranscodingMaxAudioChannels = transcodingMaxAudioChannels,
|
|
|
|
|
CpuCoreLimit = cpuCoreLimit,
|
|
|
|
|
LiveStreamId = liveStreamId,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? true,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? false,
|
|
|
|
|
VideoCodec = videoCodec,
|
|
|
|
|
SubtitleCodec = subtitleCodec,
|
|
|
|
|
TranscodeReasons = transcodeReasons,
|
|
|
|
@ -555,7 +555,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
var streamingRequest = new VideoRequestDto
|
|
|
|
|
{
|
|
|
|
|
Id = itemId,
|
|
|
|
|
Static = @static ?? true,
|
|
|
|
|
Static = @static ?? false,
|
|
|
|
|
Params = @params,
|
|
|
|
|
Tag = tag,
|
|
|
|
|
DeviceProfileId = deviceProfileId,
|
|
|
|
@ -579,7 +579,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
Level = level,
|
|
|
|
|
Framerate = framerate,
|
|
|
|
|
MaxFramerate = maxFramerate,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? true,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? false,
|
|
|
|
|
StartTimeTicks = startTimeTicks,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
@ -588,13 +588,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
|
|
|
|
MaxRefFrames = maxRefFrames,
|
|
|
|
|
MaxVideoBitDepth = maxVideoBitDepth,
|
|
|
|
|
RequireAvc = requireAvc ?? true,
|
|
|
|
|
DeInterlace = deInterlace ?? true,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? true,
|
|
|
|
|
RequireAvc = requireAvc ?? false,
|
|
|
|
|
DeInterlace = deInterlace ?? false,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? false,
|
|
|
|
|
TranscodingMaxAudioChannels = transcodingMaxAudioChannels,
|
|
|
|
|
CpuCoreLimit = cpuCoreLimit,
|
|
|
|
|
LiveStreamId = liveStreamId,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? true,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? false,
|
|
|
|
|
VideoCodec = videoCodec,
|
|
|
|
|
SubtitleCodec = subtitleCodec,
|
|
|
|
|
TranscodeReasons = transcodeReasons,
|
|
|
|
@ -720,7 +720,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
var streamingRequest = new StreamingRequestDto
|
|
|
|
|
{
|
|
|
|
|
Id = itemId,
|
|
|
|
|
Static = @static ?? true,
|
|
|
|
|
Static = @static ?? false,
|
|
|
|
|
Params = @params,
|
|
|
|
|
Tag = tag,
|
|
|
|
|
DeviceProfileId = deviceProfileId,
|
|
|
|
@ -744,7 +744,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
Level = level,
|
|
|
|
|
Framerate = framerate,
|
|
|
|
|
MaxFramerate = maxFramerate,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? true,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? false,
|
|
|
|
|
StartTimeTicks = startTimeTicks,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
@ -753,13 +753,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
|
|
|
|
MaxRefFrames = maxRefFrames,
|
|
|
|
|
MaxVideoBitDepth = maxVideoBitDepth,
|
|
|
|
|
RequireAvc = requireAvc ?? true,
|
|
|
|
|
DeInterlace = deInterlace ?? true,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? true,
|
|
|
|
|
RequireAvc = requireAvc ?? false,
|
|
|
|
|
DeInterlace = deInterlace ?? false,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? false,
|
|
|
|
|
TranscodingMaxAudioChannels = transcodingMaxAudioChannels,
|
|
|
|
|
CpuCoreLimit = cpuCoreLimit,
|
|
|
|
|
LiveStreamId = liveStreamId,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? true,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? false,
|
|
|
|
|
VideoCodec = videoCodec,
|
|
|
|
|
SubtitleCodec = subtitleCodec,
|
|
|
|
|
TranscodeReasons = transcodeReasons,
|
|
|
|
@ -890,7 +890,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
{
|
|
|
|
|
Id = itemId,
|
|
|
|
|
Container = container,
|
|
|
|
|
Static = @static ?? true,
|
|
|
|
|
Static = @static ?? false,
|
|
|
|
|
Params = @params,
|
|
|
|
|
Tag = tag,
|
|
|
|
|
DeviceProfileId = deviceProfileId,
|
|
|
|
@ -914,7 +914,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
Level = level,
|
|
|
|
|
Framerate = framerate,
|
|
|
|
|
MaxFramerate = maxFramerate,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? true,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? false,
|
|
|
|
|
StartTimeTicks = startTimeTicks,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
@ -923,13 +923,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
|
|
|
|
MaxRefFrames = maxRefFrames,
|
|
|
|
|
MaxVideoBitDepth = maxVideoBitDepth,
|
|
|
|
|
RequireAvc = requireAvc ?? true,
|
|
|
|
|
DeInterlace = deInterlace ?? true,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? true,
|
|
|
|
|
RequireAvc = requireAvc ?? false,
|
|
|
|
|
DeInterlace = deInterlace ?? false,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? false,
|
|
|
|
|
TranscodingMaxAudioChannels = transcodingMaxAudioChannels,
|
|
|
|
|
CpuCoreLimit = cpuCoreLimit,
|
|
|
|
|
LiveStreamId = liveStreamId,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? true,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? false,
|
|
|
|
|
VideoCodec = videoCodec,
|
|
|
|
|
SubtitleCodec = subtitleCodec,
|
|
|
|
|
TranscodeReasons = transcodeReasons,
|
|
|
|
@ -1062,7 +1062,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
{
|
|
|
|
|
Id = itemId,
|
|
|
|
|
Container = container,
|
|
|
|
|
Static = @static ?? true,
|
|
|
|
|
Static = @static ?? false,
|
|
|
|
|
Params = @params,
|
|
|
|
|
Tag = tag,
|
|
|
|
|
DeviceProfileId = deviceProfileId,
|
|
|
|
@ -1086,7 +1086,7 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
Level = level,
|
|
|
|
|
Framerate = framerate,
|
|
|
|
|
MaxFramerate = maxFramerate,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? true,
|
|
|
|
|
CopyTimestamps = copyTimestamps ?? false,
|
|
|
|
|
StartTimeTicks = startTimeTicks,
|
|
|
|
|
Width = width,
|
|
|
|
|
Height = height,
|
|
|
|
@ -1095,13 +1095,13 @@ namespace Jellyfin.Api.Controllers
|
|
|
|
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
|
|
|
|
MaxRefFrames = maxRefFrames,
|
|
|
|
|
MaxVideoBitDepth = maxVideoBitDepth,
|
|
|
|
|
RequireAvc = requireAvc ?? true,
|
|
|
|
|
DeInterlace = deInterlace ?? true,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? true,
|
|
|
|
|
RequireAvc = requireAvc ?? false,
|
|
|
|
|
DeInterlace = deInterlace ?? false,
|
|
|
|
|
RequireNonAnamorphic = requireNonAnamorphic ?? false,
|
|
|
|
|
TranscodingMaxAudioChannels = transcodingMaxAudioChannels,
|
|
|
|
|
CpuCoreLimit = cpuCoreLimit,
|
|
|
|
|
LiveStreamId = liveStreamId,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? true,
|
|
|
|
|
EnableMpegtsM2TsMode = enableMpegtsM2TsMode ?? false,
|
|
|
|
|
VideoCodec = videoCodec,
|
|
|
|
|
SubtitleCodec = subtitleCodec,
|
|
|
|
|
TranscodeReasons = transcodeReasons,
|
|
|
|
|