public class LiveRealTimeClipRequest extends AbstractModel
Constructor and Description |
---|
LiveRealTimeClipRequest() |
LiveRealTimeClipRequest(LiveRealTimeClipRequest 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 |
getClassId()
Get The ID of the media file’s category.
|
String |
getEndTime()
Get End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getExpireTime()
Get Storage expiration time of video generated by persistent clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getExtInfo()
Get Reserved field.
|
String |
getHost()
Get Domain name used for live clipping.
|
Long |
getIsPersistence()
Get Whether to clip persistently.
|
Long |
getMetaDataRequired()
Get Whether the metadata of clipped video needs to be returned.
|
String |
getProcedure()
Get VOD task flow processing for video generated by persistent clipping.
|
String |
getSessionContext()
Get The session context, which is used to pass through user request information.
|
String |
getSourceContext()
Get The source context, which is used to pass through user request information.
|
String |
getStartTime()
Get Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
String |
getStreamId()
Get The live stream code.
|
LiveRealTimeClipStreamInfo |
getStreamInfo()
Get The information of the live stream to clip.
|
Long |
getSubAppId()
Get The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
void |
setClassId(Long ClassId)
Set The ID of the media file’s category.
|
void |
setEndTime(String EndTime)
Set End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setExpireTime(String ExpireTime)
Set Storage expiration time of video generated by persistent clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setExtInfo(String ExtInfo)
Set Reserved field.
|
void |
setHost(String Host)
Set Domain name used for live clipping.
|
void |
setIsPersistence(Long IsPersistence)
Set Whether to clip persistently.
|
void |
setMetaDataRequired(Long MetaDataRequired)
Set Whether the metadata of clipped video needs to be returned.
|
void |
setProcedure(String Procedure)
Set VOD task flow processing for video generated by persistent clipping.
|
void |
setSessionContext(String SessionContext)
Set The session context, which is used to pass through user request information.
|
void |
setSourceContext(String SourceContext)
Set The source context, which is used to pass through user request information.
|
void |
setStartTime(String StartTime)
Set Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setStreamId(String StreamId)
Set The live stream code.
|
void |
setStreamInfo(LiveRealTimeClipStreamInfo StreamInfo)
Set The information of the live stream to clip.
|
void |
setSubAppId(Long SubAppId)
Set The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public LiveRealTimeClipRequest()
public LiveRealTimeClipRequest(LiveRealTimeClipRequest source)
public String getStreamId()
public void setStreamId(String StreamId)
StreamId
- The live stream code.public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time of stream clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId
- The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.public Long getIsPersistence()
public void setIsPersistence(Long IsPersistence)
IsPersistence
- Whether to clip persistently. 0: no, 1: yes. Default: no.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime
- Storage expiration time of video generated by persistent clipping in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). `9999-12-31T23:59:59Z` means `never expire`. After the expiration, the media file and its related resources (such as transcoding results and image sprites) will be permanently deleted. This parameter will be valid only when `IsPersistence` is 1. By default, the video will never expire.public String getProcedure()
public void setProcedure(String Procedure)
Procedure
- VOD task flow processing for video generated by persistent clipping. For more information, please see [Specifying Task Flow After Upload](https://intl.cloud.tencent.com/document/product/266/9759?from_cn_redirect=1). This parameter will be valid only when `IsPersistence` is 1.public Long getClassId()
public void setClassId(Long ClassId)
ClassId
- The ID of the media file’s category. You can use the [CreateClass](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) API to create a category and get the category ID.
public String getSourceContext()
public void setSourceContext(String SourceContext)
SourceContext
- The source context, which is used to pass through user request information. The [NewFileUpload](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 250 characters and is valid only if `IsPersistence` is `1`.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The session context, which is used to pass through user request information. If the `Procedure` parameter is specified, the [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1) callback will return the value of this parameter. It can contain up to 1,000 characters and is valid only if `IsPersistence` is `1`.public Long getMetaDataRequired()
public void setMetaDataRequired(Long MetaDataRequired)
MetaDataRequired
- Whether the metadata of clipped video needs to be returned. 0: no, 1: yes. Default value: no.public String getHost()
public void setHost(String Host)
Host
- Domain name used for live clipping. Time shifting must be enabled in LVB.public LiveRealTimeClipStreamInfo getStreamInfo()
public void setStreamInfo(LiveRealTimeClipStreamInfo StreamInfo)
StreamInfo
- The information of the live stream to clip.
public String getExtInfo()
public void setExtInfo(String ExtInfo)
ExtInfo
- Reserved field. Do not enter a value for it.Copyright © 2023. All rights reserved.