aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ILiveStream.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-08-22 21:56:24 +0200
committerBond_009 <bond.009@outlook.com>2020-08-22 21:56:24 +0200
commit404bb4f83521760b3e9eeb748ab21d9056c4c023 (patch)
tree79f98f80eb9d3e610486346278517953edb534e3 /MediaBrowser.Controller/Library/ILiveStream.cs
parent92c491397eb81ed0d9349f11036c9f3a1e2be2e4 (diff)
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();
}
}