26 lines
478 B
C#
26 lines
478 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Transcoding;
|
|
|
|
public sealed class TranscodingStartRequest
|
|
{
|
|
public string src { get; set; } = string.Empty;
|
|
|
|
public TranscodingAudioOptions audio { get; set; }
|
|
|
|
public TranscodingHlsOptions hls { get; set; }
|
|
|
|
public Dictionary<string, string> headers { get; set; }
|
|
|
|
public bool live { get; set; }
|
|
|
|
public bool? subtitles { get; set; }
|
|
}
|
|
|
|
public enum TranscodingJobState
|
|
{
|
|
Running,
|
|
Idle,
|
|
Stopped
|
|
}
|