mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Kill ProgressiveFileCopier and seek to end for ongoing livetv
This commit is contained in:
20
MediaBrowser.Controller/Library/IDirectStreamProvider.cs
Normal file
20
MediaBrowser.Controller/Library/IDirectStreamProvider.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.IO;
|
||||
|
||||
namespace MediaBrowser.Controller.Library
|
||||
{
|
||||
/// <summary>
|
||||
/// The direct live TV stream provider.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Deprecated.
|
||||
/// </remarks>
|
||||
public interface IDirectStreamProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the live stream, optionally seeks to the end of the file first.
|
||||
/// </summary>
|
||||
/// <param name="seekNearEnd">A value indicating whether to seek to the end of the file.</param>
|
||||
/// <returns>The stream.</returns>
|
||||
Stream GetStream(bool seekNearEnd = true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user