public class ComposeMediaRequest extends AbstractModel
Constructor and Description |
---|
ComposeMediaRequest() |
ComposeMediaRequest(ComposeMediaRequest 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 |
---|---|
Canvas |
getCanvas()
Get Canvas used for composing video file.
|
ComposeMediaOutput |
getOutput()
Get Information of output media file.
|
String |
getSessionContext()
Get Used to pass through user request information.
|
String |
getSessionId()
Get Used to identify duplicate requests.
|
Long |
getSubAppId()
Get The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
MediaTrack[] |
getTracks()
Get List of input media tracks, including video, audio, and image tracks.
|
void |
setCanvas(Canvas Canvas)
Set Canvas used for composing video file.
|
void |
setOutput(ComposeMediaOutput Output)
Set Information of output media file.
|
void |
setSessionContext(String SessionContext)
Set Used to pass through user request information.
|
void |
setSessionId(String SessionId)
Set Used to identify duplicate requests.
|
void |
setSubAppId(Long SubAppId)
Set The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID.
|
void |
setTracks(MediaTrack[] Tracks)
Set List of input media tracks, including video, audio, and image tracks.
|
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 ComposeMediaRequest()
public ComposeMediaRequest(ComposeMediaRequest source)
public MediaTrack[] getTracks()
public void setTracks(MediaTrack[] Tracks)
Tracks
- List of input media tracks, including video, audio, and image tracks. public ComposeMediaOutput getOutput()
public void setOutput(ComposeMediaOutput Output)
Output
- Information of output media file.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 Canvas getCanvas()
public void setCanvas(Canvas Canvas)
Canvas
- Canvas used for composing video file.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- Used to pass through user request information. `ComposeMediaComplete` callback will return the value of this parameter. It contains up to 1,000 characters.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.Copyright © 2023. All rights reserved.