|
|
|
@ -15,23 +15,6 @@ namespace MediaBrowser.Model.MediaInfo
|
|
|
|
|
DirectPlayProtocols = new MediaProtocol[] { MediaProtocol.Http };
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string OpenToken { get; set; }
|
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
public string PlaySessionId { get; set; }
|
|
|
|
|
public long? MaxStreamingBitrate { get; set; }
|
|
|
|
|
public long? StartTimeTicks { get; set; }
|
|
|
|
|
public int? AudioStreamIndex { get; set; }
|
|
|
|
|
public int? SubtitleStreamIndex { get; set; }
|
|
|
|
|
public int? MaxAudioChannels { get; set; }
|
|
|
|
|
public Guid ItemId { get; set; }
|
|
|
|
|
public DeviceProfile DeviceProfile { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool EnableDirectPlay { get; set; }
|
|
|
|
|
public bool EnableDirectStream { get; set; }
|
|
|
|
|
public MediaProtocol[] DirectPlayProtocols { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public LiveStreamRequest(AudioOptions options)
|
|
|
|
|
{
|
|
|
|
|
MaxStreamingBitrate = options.MaxBitrate;
|
|
|
|
@ -47,5 +30,20 @@ namespace MediaBrowser.Model.MediaInfo
|
|
|
|
|
SubtitleStreamIndex = videoOptions.SubtitleStreamIndex;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string OpenToken { get; set; }
|
|
|
|
|
public Guid UserId { get; set; }
|
|
|
|
|
public string PlaySessionId { get; set; }
|
|
|
|
|
public long? MaxStreamingBitrate { get; set; }
|
|
|
|
|
public long? StartTimeTicks { get; set; }
|
|
|
|
|
public int? AudioStreamIndex { get; set; }
|
|
|
|
|
public int? SubtitleStreamIndex { get; set; }
|
|
|
|
|
public int? MaxAudioChannels { get; set; }
|
|
|
|
|
public Guid ItemId { get; set; }
|
|
|
|
|
public DeviceProfile DeviceProfile { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool EnableDirectPlay { get; set; }
|
|
|
|
|
public bool EnableDirectStream { get; set; }
|
|
|
|
|
public MediaProtocol[] DirectPlayProtocols { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|