mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 00:39:25 +01:00
fixes #838 - Support rtmp protocol with channels
This commit is contained in:
@@ -8,6 +8,7 @@ namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
public class MediaSourceInfo
|
||||
{
|
||||
public MediaProtocol Protocol { get; set; }
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Path { get; set; }
|
||||
@@ -17,8 +18,6 @@ namespace MediaBrowser.Model.Dto
|
||||
public string Container { get; set; }
|
||||
public long? Size { get; set; }
|
||||
|
||||
public LocationType LocationType { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public long? RunTimeTicks { get; set; }
|
||||
|
||||
@@ -6,4 +6,11 @@ namespace MediaBrowser.Model.MediaInfo
|
||||
public const string MP4 = "mp4";
|
||||
public const string MKV = "mkv";
|
||||
}
|
||||
|
||||
public enum MediaProtocol
|
||||
{
|
||||
File = 0,
|
||||
Http = 1,
|
||||
Rtmp = 2
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user