aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-18 01:05:33 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-18 01:05:33 -0500
commit80a9bbf5ef624c7e60835649192aaeeb521a7472 (patch)
treef10b257acb77a1d445a3f78062669e2f055cf643 /Emby.Server.Implementations
parent16bd1df08aef46881ae777845368aa4ba3ff13c9 (diff)
support rtp protocol
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs b/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs
index 05d71214e..7954b86ba 100644
--- a/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs
+++ b/Emby.Server.Implementations/LiveTv/TunerHosts/M3UTunerHost.cs
@@ -127,6 +127,10 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
{
protocol = MediaProtocol.Udp;
}
+ else if (path.StartsWith("rtp", StringComparison.OrdinalIgnoreCase))
+ {
+ protocol = MediaProtocol.Rtmp;
+ }
var mediaSource = new MediaSourceInfo
{