public class HlsRemuxSettingsInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
HlsRemuxSettingsInfo() |
HlsRemuxSettingsInfo(HlsRemuxSettingsInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getH265PackageType()
Get The HLS package type when the H.265 codec is used.
|
Long |
getLowLatency()
Get Whether to enable low latency 0:CLOSE, 1:OPEN, default value: 0.
|
Long |
getPartialSegmentDuration()
Get Low latency slice size, unit ms.
|
Long |
getPartialSegmentPlaySite()
Get Low latency slice playback position, unit ms.
|
Long |
getPdtDuration()
Get PDT duration in seconds.
|
String |
getPdtInsertion()
Get Whether to enable PDT insertion.
|
String |
getScheme()
Get Audio/Video packaging scheme.
|
Long |
getSegmentDuration()
Get Segment duration in ms.
|
Long |
getSegmentNumber()
Get Number of segments.
|
String |
getSegmentType()
Get The segment type.
|
Long |
getStreamOrder()
Get Hls main m3u8 file sorting rules by bitrate, optional values: 1: video bitrate ascending order; 2: video bitrate descending order.
|
Long |
getVideoResolution()
Get Whether the Hls main m3u8 file contains resolution information, optional values: 1: INCLUDE includes video resolution; 2: EXCLUDE does not include video resolution.
|
void |
setH265PackageType(String H265PackageType)
Set The HLS package type when the H.265 codec is used.
|
void |
setLowLatency(Long LowLatency)
Set Whether to enable low latency 0:CLOSE, 1:OPEN, default value: 0.
|
void |
setPartialSegmentDuration(Long PartialSegmentDuration)
Set Low latency slice size, unit ms.
|
void |
setPartialSegmentPlaySite(Long PartialSegmentPlaySite)
Set Low latency slice playback position, unit ms.
|
void |
setPdtDuration(Long PdtDuration)
Set PDT duration in seconds.
|
void |
setPdtInsertion(String PdtInsertion)
Set Whether to enable PDT insertion.
|
void |
setScheme(String Scheme)
Set Audio/Video packaging scheme.
|
void |
setSegmentDuration(Long SegmentDuration)
Set Segment duration in ms.
|
void |
setSegmentNumber(Long SegmentNumber)
Set Number of segments.
|
void |
setSegmentType(String SegmentType)
Set The segment type.
|
void |
setStreamOrder(Long StreamOrder)
Set Hls main m3u8 file sorting rules by bitrate, optional values: 1: video bitrate ascending order; 2: video bitrate descending order.
|
void |
setVideoResolution(Long VideoResolution)
Set Whether the Hls main m3u8 file contains resolution information, optional values: 1: INCLUDE includes video resolution; 2: EXCLUDE does not include video resolution.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public HlsRemuxSettingsInfo()
public HlsRemuxSettingsInfo(HlsRemuxSettingsInfo source)
public Long getSegmentDuration()
public void setSegmentDuration(Long SegmentDuration)
SegmentDuration
- Segment duration in ms. Value range: [1000,30000]. Default value: 4000. The value can only be a multiple of 1,000.public Long getSegmentNumber()
public void setSegmentNumber(Long SegmentNumber)
SegmentNumber
- Number of segments. Value range: [1,30]. Default value: 5.public String getPdtInsertion()
public void setPdtInsertion(String PdtInsertion)
PdtInsertion
- Whether to enable PDT insertion. Valid values: CLOSE/OPEN. Default value: CLOSE.public Long getPdtDuration()
public void setPdtDuration(Long PdtDuration)
PdtDuration
- PDT duration in seconds. Value range: (0,3000]. Default value: 600.public String getScheme()
public void setScheme(String Scheme)
Scheme
- Audio/Video packaging scheme. Valid values: `SEPARATE`, `MERGE`. Default value is: SEPARATE.public String getSegmentType()
public void setSegmentType(String SegmentType)
SegmentType
- The segment type. Valid values: `ts` (default), `fmp4`.
Currently, fMP4 segments do not support DRM or time shifting.public String getH265PackageType()
public void setH265PackageType(String H265PackageType)
H265PackageType
- The HLS package type when the H.265 codec is used. Valid values: `hvc1`, `hev1` (default).public Long getLowLatency()
public void setLowLatency(Long LowLatency)
LowLatency
- Whether to enable low latency 0:CLOSE, 1:OPEN, default value: 0.public Long getPartialSegmentDuration()
public void setPartialSegmentDuration(Long PartialSegmentDuration)
PartialSegmentDuration
- Low latency slice size, unit ms. Value range: integer [200-HlsRemuxSettings.SegmentDuration] Default value: 500ms.public Long getPartialSegmentPlaySite()
public void setPartialSegmentPlaySite(Long PartialSegmentPlaySite)
PartialSegmentPlaySite
- Low latency slice playback position, unit ms. Value range: integer [3*HlsRemuxSettings.PartiSegmentDuration - 3*HlsRemuxSettings.SegmentDuration], Default value: 3*HlsRemuxSettings.PartiSegmentDuration.public Long getStreamOrder()
public void setStreamOrder(Long StreamOrder)
StreamOrder
- Hls main m3u8 file sorting rules by bitrate, optional values: 1: video bitrate ascending order; 2: video bitrate descending order. Default value: 1.public Long getVideoResolution()
public void setVideoResolution(Long VideoResolution)
VideoResolution
- Whether the Hls main m3u8 file contains resolution information, optional values: 1: INCLUDE includes video resolution; 2: EXCLUDE does not include video resolution. Default value: 1.Copyright © 2024. All rights reserved.