added a StreamRequest object
This commit is contained in:
parent
dc35c24739
commit
fb92f47abd
|
@ -84,6 +84,7 @@
|
|||
<Compile Include="Library\LibraryStructureService.cs" />
|
||||
<Compile Include="LocalizationService.cs" />
|
||||
<Compile Include="PackageService.cs" />
|
||||
<Compile Include="Playback\StreamRequest.cs" />
|
||||
<Compile Include="PluginService.cs" />
|
||||
<Compile Include="ScheduledTasks\ScheduledTaskService.cs" />
|
||||
<Compile Include="ScheduledTasks\ScheduledTasksWebSocketListener.cs" />
|
||||
|
|
39
MediaBrowser.Api/Playback/StreamRequest.cs
Normal file
39
MediaBrowser.Api/Playback/StreamRequest.cs
Normal file
|
@ -0,0 +1,39 @@
|
|||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Api.Playback
|
||||
{
|
||||
public class StreamRequest
|
||||
{
|
||||
public string Id { get; set; }
|
||||
|
||||
public AudioCodecs? AudioCodec { get; set; }
|
||||
|
||||
public long? StartTimeTicks { get; set; }
|
||||
|
||||
public int? AudioBitRate { get; set; }
|
||||
|
||||
public VideoCodecs? VideoCodec { get; set; }
|
||||
|
||||
public int? VideoBitRate { get; set; }
|
||||
|
||||
public int? AudioStreamIndex { get; set; }
|
||||
|
||||
public int? VideoStreamIndex { get; set; }
|
||||
|
||||
public int? SubtitleStreamIndex { get; set; }
|
||||
|
||||
public int? AudioChannels { get; set; }
|
||||
|
||||
public int? AudioSampleRate { get; set; }
|
||||
|
||||
public int? Width { get; set; }
|
||||
|
||||
public int? Height { get; set; }
|
||||
|
||||
public int? MaxWidth { get; set; }
|
||||
|
||||
public int? MaxHeight { get; set; }
|
||||
|
||||
public double? Framerate { get; set; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user