mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
added a StreamRequest object
This commit is contained in:
parent
dc35c24739
commit
fb92f47abd
2 changed files with 40 additions and 0 deletions
|
@ -84,6 +84,7 @@
|
||||||
<Compile Include="Library\LibraryStructureService.cs" />
|
<Compile Include="Library\LibraryStructureService.cs" />
|
||||||
<Compile Include="LocalizationService.cs" />
|
<Compile Include="LocalizationService.cs" />
|
||||||
<Compile Include="PackageService.cs" />
|
<Compile Include="PackageService.cs" />
|
||||||
|
<Compile Include="Playback\StreamRequest.cs" />
|
||||||
<Compile Include="PluginService.cs" />
|
<Compile Include="PluginService.cs" />
|
||||||
<Compile Include="ScheduledTasks\ScheduledTaskService.cs" />
|
<Compile Include="ScheduledTasks\ScheduledTaskService.cs" />
|
||||||
<Compile Include="ScheduledTasks\ScheduledTasksWebSocketListener.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 a new issue