aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/IDirectStreamProvider.cs
blob: 2939668f7d41d964d446f99708f609cfa254f8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
    }
}