|
|
|
@ -38,7 +38,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
public bool EstimateContentLength { get; set; }
|
|
|
|
|
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
|
|
|
|
|
public long? EncodingDurationTicks { get; set; }
|
|
|
|
|
public string LiveStreamId { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ItemType { get; set; }
|
|
|
|
|
|
|
|
|
@ -94,7 +93,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
|
|
|
|
|
private async void DisposeLiveStream()
|
|
|
|
|
{
|
|
|
|
|
if (MediaSource.RequiresClosing)
|
|
|
|
|
if (MediaSource.RequiresClosing && string.IsNullOrWhiteSpace(Options.LiveStreamId) && !string.IsNullOrWhiteSpace(MediaSource.LiveStreamId))
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|