added a StreamRequest object

This commit is contained in:
LukePulverenti 2013-02-26 16:53:51 -05:00
parent dc35c24739
commit fb92f47abd
2 changed files with 40 additions and 0 deletions

View file

@ -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" />

View 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; }
}
}