public interface AliyunIMixComposer
Modifier and Type | Method and Description |
---|---|
int |
cancel()
Cancels the composition process.
|
AliyunMixTrack |
createTrack(AliyunMixTrackLayoutParam layoutParam)
Creates a video track.
|
int |
pause()
Pauses the composition process.
|
int |
release()
Releases resources.
|
int |
resume()
Resumes the composition process.
|
int |
setOutputParam(AliyunMixOutputParam param)
Sets output parameters.
|
int |
start(com.aliyun.mix.AliyunMixCallback callback)
Starts the composition process.
|
AliyunMixTrack createTrack(AliyunMixTrackLayoutParam layoutParam)
layoutParam
- The layout parameter. This parameter indicates the screen areas that display the video streams on the track. For more information, see AliyunMixTrackLayoutParam
.AliyunMixTrackLayoutParam
int setOutputParam(AliyunMixOutputParam param)
start(AliyunMixCallback)
. Otherwise, the composition process cannot be started.AliyunErrorCode.OK
if the invocation is successful or an error code if the invocation fails.AliyunMixOutputParam
int start(com.aliyun.mix.AliyunMixCallback callback)
callback
- The callback.AliyunErrorCode.OK
if the invocation is successful or an error code if the invocation fails.int pause()
AliyunErrorCode.OK
if the invocation is successful or an error code if the invocation fails.int resume()
AliyunErrorCode.OK
if the invocation is successful or an error code if the invocation fails.int cancel()
AliyunErrorCode.OK
if the invocation is successful or an error code if the invocation fails.int release()
AliyunErrorCode.OK
if the invocation is successful or an error code if the invocation fails.