public class SliceParams extends AbstractModel
header, skipSign| Constructor and Description |
|---|
SliceParams() |
SliceParams(SliceParams 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 |
|---|---|
Long |
getMaxIdleTime()
Get Recording is stopped automatically when there is no anchor in the room for more than MaxIdleTime.
|
Long |
getSliceAudio()
Get Audio slicing duration.
|
String |
getSliceCallbackUrl()
Get Depreciated.
|
Long |
getSliceType()
Get Slicing task type.
|
Long |
getSliceVideo()
Get Interval for video frame extraction.
|
SubscribeStreamUserIds |
getSubscribeStreamUserIds()
Get Specifies the allowlist or blocklist for the subscription stream.
|
void |
setMaxIdleTime(Long MaxIdleTime)
Set Recording is stopped automatically when there is no anchor in the room for more than MaxIdleTime.
|
void |
setSliceAudio(Long SliceAudio)
Set Audio slicing duration.
|
void |
setSliceCallbackUrl(String SliceCallbackUrl)
Set Depreciated.
|
void |
setSliceType(Long SliceType)
Set Slicing task type.
|
void |
setSliceVideo(Long SliceVideo)
Set Interval for video frame extraction.
|
void |
setSubscribeStreamUserIds(SubscribeStreamUserIds SubscribeStreamUserIds)
Set Specifies the allowlist or blocklist for the subscription stream.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SliceParams()
public SliceParams(SliceParams source)
public Long getSliceType()
public void setSliceType(Long SliceType)
SliceType - Slicing task type.
1: audio slicing;
2: video frame extraction;
3: audio/video slicing + video frame extraction.
Example value: 1.public Long getMaxIdleTime()
public void setMaxIdleTime(Long MaxIdleTime)
MaxIdleTime - Recording is stopped automatically when there is no anchor in the room for more than MaxIdleTime. Unit: seconds. Default value: 30 seconds. This value needs to be greater than or equal to 5 seconds and less than or equal to 86,400 seconds (24 hours).
Example value: 30.public Long getSliceAudio()
public void setSliceAudio(Long SliceAudio)
SliceAudio - Audio slicing duration. Default value: 15s. Example value: 15.public Long getSliceVideo()
public void setSliceVideo(Long SliceVideo)
SliceVideo - Interval for video frame extraction. Default value: 5s. Example value: 5.public SubscribeStreamUserIds getSubscribeStreamUserIds()
public void setSubscribeStreamUserIds(SubscribeStreamUserIds SubscribeStreamUserIds)
SubscribeStreamUserIds - Specifies the allowlist or blocklist for the subscription stream.public String getSliceCallbackUrl()
public void setSliceCallbackUrl(String SliceCallbackUrl)
SliceCallbackUrl - Depreciated. The callback URL is configured in the console.Copyright © 2025. All rights reserved.