mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 12:44:19 +01:00
fixes #838 - Support rtmp protocol with channels
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using MediaBrowser.Model.MediaInfo;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Controller.Channels
|
||||
@@ -20,16 +21,18 @@ namespace MediaBrowser.Controller.Channels
|
||||
public int? AudioChannels { get; set; }
|
||||
public int? AudioSampleRate { get; set; }
|
||||
|
||||
public bool IsRemote { get; set; }
|
||||
|
||||
public string VideoProfile { get; set; }
|
||||
public float? VideoLevel { get; set; }
|
||||
public float? Framerate { get; set; }
|
||||
|
||||
public MediaProtocol Protocol { get; set; }
|
||||
|
||||
public ChannelMediaInfo()
|
||||
{
|
||||
RequiredHttpHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
||||
IsRemote = true;
|
||||
|
||||
// This is most common
|
||||
Protocol = MediaProtocol.Http;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user