|
|
|
@ -163,18 +163,18 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[ProducesPlaylistFile]
|
|
|
|
|
public async Task<ActionResult> GetLiveHlsStream(
|
|
|
|
|
[FromRoute, Required] Guid itemId,
|
|
|
|
|
[FromQuery] string? container,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? container,
|
|
|
|
|
[FromQuery] bool? @static,
|
|
|
|
|
[FromQuery] string? @params,
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery] string? mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -204,8 +204,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
@ -406,12 +406,12 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery, Required] string mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -443,8 +443,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
@ -577,12 +577,12 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery, Required] string mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -613,8 +613,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
@ -742,12 +742,12 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery] string? mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -779,8 +779,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
@ -909,12 +909,12 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery] string? mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -945,8 +945,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
@ -1085,12 +1085,12 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery] string? mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -1122,8 +1122,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
@ -1265,12 +1265,12 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] string? tag,
|
|
|
|
|
[FromQuery, ParameterObsolete] string? deviceProfileId,
|
|
|
|
|
[FromQuery] string? playSessionId,
|
|
|
|
|
[FromQuery] string? segmentContainer,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? segmentContainer,
|
|
|
|
|
[FromQuery] int? segmentLength,
|
|
|
|
|
[FromQuery] int? minSegments,
|
|
|
|
|
[FromQuery] string? mediaSourceId,
|
|
|
|
|
[FromQuery] string? deviceId,
|
|
|
|
|
[FromQuery] string? audioCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? audioCodec,
|
|
|
|
|
[FromQuery] bool? enableAutoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowVideoStreamCopy,
|
|
|
|
|
[FromQuery] bool? allowAudioStreamCopy,
|
|
|
|
@ -1301,8 +1301,8 @@ public class DynamicHlsController : BaseJellyfinApiController
|
|
|
|
|
[FromQuery] int? cpuCoreLimit,
|
|
|
|
|
[FromQuery] string? liveStreamId,
|
|
|
|
|
[FromQuery] bool? enableMpegtsM2TsMode,
|
|
|
|
|
[FromQuery] string? videoCodec,
|
|
|
|
|
[FromQuery] string? subtitleCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? videoCodec,
|
|
|
|
|
[FromQuery] [RegularExpression(EncodingHelper.ValidationRegex)] string? subtitleCodec,
|
|
|
|
|
[FromQuery] string? transcodeReasons,
|
|
|
|
|
[FromQuery] int? audioStreamIndex,
|
|
|
|
|
[FromQuery] int? videoStreamIndex,
|
|
|
|
|