aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ILiveStream.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-08-22 23:50:43 -0400
committerGitHub <noreply@github.com>2020-08-22 23:50:43 -0400
commit3a99a4770c86d6815267857558968ef5c1fa73f4 (patch)
tree33bf04f0792982f0300d0f972185b0bfff310e15 /MediaBrowser.Controller/Library/ILiveStream.cs
parente88b7b8d0e08694a4cc939b8632cc077dc51c7ca (diff)
parentc4d8275fc1ad29823788043750e2f3f8e8b8244e (diff)
Merge pull request #3958 from Bond-009/warn26
Enable TreatWarningsAsErrors for MediaBrowser.Controller in Release
Diffstat (limited to 'MediaBrowser.Controller/Library/ILiveStream.cs')
-rw-r--r--MediaBrowser.Controller/Library/ILiveStream.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Library/ILiveStream.cs b/MediaBrowser.Controller/Library/ILiveStream.cs
index 7c9a9b20e..ff25be657 100644
--- a/MediaBrowser.Controller/Library/ILiveStream.cs
+++ b/MediaBrowser.Controller/Library/ILiveStream.cs
@@ -1,3 +1,5 @@
+#pragma warning disable CS1591
+
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Model.Dto;
@@ -6,8 +8,6 @@ namespace MediaBrowser.Controller.Library
{
public interface ILiveStream
{
- Task Open(CancellationToken openCancellationToken);
- Task Close();
int ConsumerCount { get; set; }
string OriginalStreamId { get; set; }
@@ -19,5 +19,9 @@ namespace MediaBrowser.Controller.Library
MediaSourceInfo MediaSource { get; set; }
string UniqueId { get; }
+
+ Task Open(CancellationToken openCancellationToken);
+
+ Task Close();
}
}