public class ComposeMediaRequest extends AbstractModel
| Constructor and Description |
|---|
ComposeMediaRequest() |
| 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
|
String |
getSessionId()
Get
|
Long |
getSubAppId()
Get [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
MediaTrack[] |
getTracks()
Get List of input media tracks, i.e., information of multiple tracks composed of video, audio, image, and other materials.
|
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
|
void |
setSessionId(String SessionId)
Set
|
void |
setSubAppId(Long SubAppId)
Set [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD.
|
void |
setTracks(MediaTrack[] Tracks)
Set List of input media tracks, i.e., information of multiple tracks composed of video, audio, image, and other materials.
|
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, toJsonStringpublic MediaTrack[] getTracks()
public void setTracks(MediaTrack[] Tracks)
Tracks - List of input media tracks, i.e., information of multiple tracks composed of video, audio, image, and other materials. Multiple input tracks are aligned with the output media file on the time axis. The materials of each track at the same time point on the time axis will be superimposed. Specifically, videos or images will be superimposed for video image by track order, where a material with a higher track order will be more on top, while audio materials will be mixed.public ComposeMediaOutput getOutput()
public void setOutput(ComposeMediaOutput Output)
Output - Information of output media file.public Canvas getCanvas()
public void setCanvas(Canvas Canvas)
Canvas - Canvas used for composing video file.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext - public String getSessionId()
public void setSessionId(String SessionId)
SessionId - public Long getSubAppId()
public void setSubAppId(Long SubAppId)
SubAppId - [Subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID in VOD. If you need to access a resource in a subapplication, enter the subapplication ID in this field; otherwise, leave it empty.Copyright © 2020. All rights reserved.