|
|
@@ -159,6 +159,13 @@ public static class StreamingHelpers
|
|
|
|
|
|
string? containerInternal = Path.GetExtension(state.RequestedUrl);
|
|
|
|
|
|
+ if (string.IsNullOrEmpty(containerInternal)
|
|
|
+ && (!string.IsNullOrWhiteSpace(streamingRequest.LiveStreamId)
|
|
|
+ || (mediaSource != null && mediaSource.IsInfiniteStream)))
|
|
|
+ {
|
|
|
+ containerInternal = ".ts";
|
|
|
+ }
|
|
|
+
|
|
|
if (!string.IsNullOrEmpty(streamingRequest.Container))
|
|
|
{
|
|
|
containerInternal = streamingRequest.Container;
|