Gets an audio stream using HTTP live streaming.
GET
/Audio/{itemId}/main.m3u8
DynamicHls
最后修改时间:2025-04-15 07:17:25
请求参数
Path 参数
itemId
string <uuid>
必需
Query 参数
static
boolean
可选
params
string
可选
tag
string
The tag.
deviceProfileId
string
可选
playSessionId
string
可选
segmentContainer
string
可选
正则匹配:
^[a-zA-Z0-9\-\._,|]{0,40}$
segmentLength
integer <int32>
可选
minSegments
integer <int32>
可选
mediaSourceId
string
可选
deviceId
string
可选
audioCodec
string
可选
正则匹配:
^[a-zA-Z0-9\-\._,|]{0,40}$
enableAutoStreamCopy
boolean
可选
allowVideoStreamCopy
boolean
可选
allowAudioStreamCopy
boolean
可选
breakOnNonKeyFrames
boolean
可选
audioSampleRate
integer <int32>
可选
maxAudioBitDepth
integer <int32>
可选
maxStreamingBitrate
integer <int32>
可选
audioBitRate
integer <int32>
可选
audioChannels
integer <int32>
可选
maxAudioChannels
integer <int32>
可选
profile
string
可选
level
string
可选
正则匹配:
-?[0-9]+(?:\.[0-9]+)?
framerate
number <float>
可选
maxFramerate
number <float>
可选
copyTimestamps
boolean
可选
startTimeTicks
integer <int64>
可选
width
integer <int32>
可选
height
integer <int32>
可选
videoBitRate
integer <int32>
可选
subtitleStreamIndex
integer <int32>
可选
subtitleMethod
enum<string>
可选
枚举值:
EncodeEmbedExternalHlsDrop
maxRefFrames
integer <int32>
Optional.
maxVideoBitDepth
integer <int32>
可选
requireAvc
boolean
可选
deInterlace
boolean
可选
requireNonAnamorphic
boolean
可选
transcodingMaxAudioChannels
integer <int32>
可选
cpuCoreLimit
integer <int32>
可选
liveStreamId
string
可选
enableMpegtsM2TsMode
boolean
可选
videoCodec
string
可选
正则匹配:
^[a-zA-Z0-9\-\._,|]{0,40}$
subtitleCodec
string
可选
正则匹配:
^[a-zA-Z0-9\-\._,|]{0,40}$
transcodeReasons
string
可选
audioStreamIndex
integer <int32>
可选
videoStreamIndex
integer <int32>
可选
context
enum<string>
可选
枚举值:
StreamingStatic
enableAudioVbrEncoding
boolean
可选
默认值:
true
示例代码
返回响应
修改于 2025-04-15 07:17:25