Interface DynamicHlsApiHeadMasterHlsAudioPlaylistRequest

Request parameters for headMasterHlsAudioPlaylist operation in DynamicHlsApi.

DynamicHlsApiHeadMasterHlsAudioPlaylistRequest

interface DynamicHlsApiHeadMasterHlsAudioPlaylistRequest {
    _static?: boolean;
    allowAudioStreamCopy?: boolean;
    allowVideoStreamCopy?: boolean;
    audioBitRate?: number;
    audioChannels?: number;
    audioCodec?: string;
    audioSampleRate?: number;
    audioStreamIndex?: number;
    breakOnNonKeyFrames?: boolean;
    context?: EncodingContext;
    copyTimestamps?: boolean;
    cpuCoreLimit?: number;
    deInterlace?: boolean;
    deviceId?: string;
    deviceProfileId?: string;
    enableAdaptiveBitrateStreaming?: boolean;
    enableAudioVbrEncoding?: boolean;
    enableAutoStreamCopy?: boolean;
    enableMpegtsM2TsMode?: boolean;
    framerate?: number;
    height?: number;
    itemId: string;
    level?: string;
    liveStreamId?: string;
    maxAudioBitDepth?: number;
    maxAudioChannels?: number;
    maxFramerate?: number;
    maxRefFrames?: number;
    maxStreamingBitrate?: number;
    maxVideoBitDepth?: number;
    mediaSourceId: string;
    minSegments?: number;
    params?: string;
    playSessionId?: string;
    profile?: string;
    requireAvc?: boolean;
    requireNonAnamorphic?: boolean;
    segmentContainer?: string;
    segmentLength?: number;
    startTimeTicks?: number;
    streamOptions?: {
        [key: string]: string;
    };
    subtitleCodec?: string;
    subtitleMethod?: SubtitleDeliveryMethod;
    subtitleStreamIndex?: number;
    tag?: string;
    transcodeReasons?: string;
    transcodingMaxAudioChannels?: number;
    videoBitRate?: number;
    videoCodec?: string;
    videoStreamIndex?: number;
    width?: number;
}

Properties

_static?: boolean

Optional. If true, the original file will be streamed statically without any encoding. Use either no url extension or the original file extension. true/false.

DynamicHlsApiHeadMasterHlsAudioPlaylist

allowAudioStreamCopy?: boolean

Whether or not to allow copying of the audio stream url.

DynamicHlsApiHeadMasterHlsAudioPlaylist

allowVideoStreamCopy?: boolean

Whether or not to allow copying of the video stream url.

DynamicHlsApiHeadMasterHlsAudioPlaylist

audioBitRate?: number

Optional. Specify an audio bitrate to encode to, e.g. 128000. If omitted this will be left to encoder defaults.

DynamicHlsApiHeadMasterHlsAudioPlaylist

audioChannels?: number

Optional. Specify a specific number of audio channels to encode to, e.g. 2.

DynamicHlsApiHeadMasterHlsAudioPlaylist

audioCodec?: string

Optional. Specify an audio codec to encode to, e.g. mp3.

DynamicHlsApiHeadMasterHlsAudioPlaylist

audioSampleRate?: number

Optional. Specify a specific audio sample rate, e.g. 44100.

DynamicHlsApiHeadMasterHlsAudioPlaylist

audioStreamIndex?: number

Optional. The index of the audio stream to use. If omitted the first audio stream will be used.

DynamicHlsApiHeadMasterHlsAudioPlaylist

breakOnNonKeyFrames?: boolean

Optional. Whether to break on non key frames.

DynamicHlsApiHeadMasterHlsAudioPlaylist

context?: EncodingContext

Optional. The MediaBrowser.Model.Dlna.EncodingContext.

DynamicHlsApiHeadMasterHlsAudioPlaylist

copyTimestamps?: boolean

Whether or not to copy timestamps when transcoding with an offset. Defaults to false.

DynamicHlsApiHeadMasterHlsAudioPlaylist

cpuCoreLimit?: number

Optional. The limit of how many cpu cores to use.

DynamicHlsApiHeadMasterHlsAudioPlaylist

deInterlace?: boolean

Optional. Whether to deinterlace the video.

DynamicHlsApiHeadMasterHlsAudioPlaylist

deviceId?: string

The device id of the client requesting. Used to stop encoding processes when needed.

DynamicHlsApiHeadMasterHlsAudioPlaylist

deviceProfileId?: string

Optional. The dlna device profile id to utilize.

DynamicHlsApiHeadMasterHlsAudioPlaylist

enableAdaptiveBitrateStreaming?: boolean

Enable adaptive bitrate streaming.

DynamicHlsApiHeadMasterHlsAudioPlaylist

enableAudioVbrEncoding?: boolean

Optional. Whether to enable Audio Encoding.

DynamicHlsApiHeadMasterHlsAudioPlaylist

enableAutoStreamCopy?: boolean

Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.

DynamicHlsApiHeadMasterHlsAudioPlaylist

enableMpegtsM2TsMode?: boolean

Optional. Whether to enable the MpegtsM2Ts mode.

DynamicHlsApiHeadMasterHlsAudioPlaylist

framerate?: number

Optional. A specific video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.

DynamicHlsApiHeadMasterHlsAudioPlaylist

height?: number

Optional. The fixed vertical resolution of the encoded video.

DynamicHlsApiHeadMasterHlsAudioPlaylist

itemId: string

The item id.

DynamicHlsApiHeadMasterHlsAudioPlaylist

level?: string

Optional. Specify a level for the encoder profile (varies by encoder), e.g. 3, 3.1.

DynamicHlsApiHeadMasterHlsAudioPlaylist

liveStreamId?: string

The live stream id.

DynamicHlsApiHeadMasterHlsAudioPlaylist

maxAudioBitDepth?: number

Optional. The maximum audio bit depth.

DynamicHlsApiHeadMasterHlsAudioPlaylist

maxAudioChannels?: number

Optional. Specify a maximum number of audio channels to encode to, e.g. 2.

DynamicHlsApiHeadMasterHlsAudioPlaylist

maxFramerate?: number

Optional. A specific maximum video framerate to encode to, e.g. 23.976. Generally this should be omitted unless the device has specific requirements.

DynamicHlsApiHeadMasterHlsAudioPlaylist

maxRefFrames?: number

Optional.

DynamicHlsApiHeadMasterHlsAudioPlaylist

maxStreamingBitrate?: number

Optional. The maximum streaming bitrate.

DynamicHlsApiHeadMasterHlsAudioPlaylist

maxVideoBitDepth?: number

Optional. The maximum video bit depth.

DynamicHlsApiHeadMasterHlsAudioPlaylist

mediaSourceId: string

The media version id, if playing an alternate version.

DynamicHlsApiHeadMasterHlsAudioPlaylist

minSegments?: number

The minimum number of segments.

DynamicHlsApiHeadMasterHlsAudioPlaylist

params?: string

The streaming parameters.

DynamicHlsApiHeadMasterHlsAudioPlaylist

playSessionId?: string

The play session id.

DynamicHlsApiHeadMasterHlsAudioPlaylist

profile?: string

Optional. Specify a specific an encoder profile (varies by encoder), e.g. main, baseline, high.

DynamicHlsApiHeadMasterHlsAudioPlaylist

requireAvc?: boolean

Optional. Whether to require avc.

DynamicHlsApiHeadMasterHlsAudioPlaylist

requireNonAnamorphic?: boolean

Optional. Whether to require a non anamorphic stream.

DynamicHlsApiHeadMasterHlsAudioPlaylist

segmentContainer?: string

The segment container.

DynamicHlsApiHeadMasterHlsAudioPlaylist

segmentLength?: number

The segment length.

DynamicHlsApiHeadMasterHlsAudioPlaylist

startTimeTicks?: number

Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.

DynamicHlsApiHeadMasterHlsAudioPlaylist

streamOptions?: {
    [key: string]: string;
}

Optional. The streaming options.

DynamicHlsApiHeadMasterHlsAudioPlaylist

subtitleCodec?: string

Optional. Specify a subtitle codec to encode to.

DynamicHlsApiHeadMasterHlsAudioPlaylist

subtitleMethod?: SubtitleDeliveryMethod

Optional. Specify the subtitle delivery method.

DynamicHlsApiHeadMasterHlsAudioPlaylist

subtitleStreamIndex?: number

Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.

DynamicHlsApiHeadMasterHlsAudioPlaylist

tag?: string

The tag.

DynamicHlsApiHeadMasterHlsAudioPlaylist

transcodeReasons?: string

Optional. The transcoding reason.

DynamicHlsApiHeadMasterHlsAudioPlaylist

transcodingMaxAudioChannels?: number

Optional. The maximum number of audio channels to transcode.

DynamicHlsApiHeadMasterHlsAudioPlaylist

videoBitRate?: number

Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.

DynamicHlsApiHeadMasterHlsAudioPlaylist

videoCodec?: string

Optional. Specify a video codec to encode to, e.g. h264.

DynamicHlsApiHeadMasterHlsAudioPlaylist

videoStreamIndex?: number

Optional. The index of the video stream to use. If omitted the first video stream will be used.

DynamicHlsApiHeadMasterHlsAudioPlaylist

width?: number

Optional. The fixed horizontal resolution of the encoded video.

DynamicHlsApiHeadMasterHlsAudioPlaylist