|
|
|
@ -49,12 +49,6 @@ namespace MediaBrowser.Api.Playback.Progressive
|
|
|
|
|
[Route("/Videos/{Id}/stream.wtv", "HEAD")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.m2ts", "HEAD")]
|
|
|
|
|
[Route("/Videos/{Id}/stream", "HEAD")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.mp4", "OPTIONS")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.m4v", "OPTIONS")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.mkv", "OPTIONS")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.avi", "OPTIONS")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.webm", "OPTIONS")]
|
|
|
|
|
[Route("/Videos/{Id}/stream.ts", "OPTIONS")]
|
|
|
|
|
[Api(Description = "Gets a video stream")]
|
|
|
|
|
public class GetVideoStream : VideoStreamRequest
|
|
|
|
|
{
|
|
|
|
@ -90,16 +84,6 @@ namespace MediaBrowser.Api.Playback.Progressive
|
|
|
|
|
return ProcessRequest(request, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Optionses the specified request.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request">The request.</param>
|
|
|
|
|
/// <returns>System.Object.</returns>
|
|
|
|
|
public object Options(GetVideoStream request)
|
|
|
|
|
{
|
|
|
|
|
return ProcessRequest(request, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the command line arguments.
|
|
|
|
|
/// </summary>
|
|
|
|
|