AVDExporterVideoMixer.h

Includes:
<Foundation/Foundation.h>
"AVDCommon.h"

Introduction

Use the links in the table of contents to the left to access the documentation.



Methods

+addSubVideo:zorder:x:y:width:height:
+clearSubVideos
+modSubVideo:zorder:x:y:width:height:
+removeSubVideo:

addSubVideo:zorder:x:y:width:height:


- (AVDResult)addSubVideo:(AVDDeviceId)deviceId zorder:(NSInteger)zorder 
        x:(float)x y:(float)y width:(float)width height:(float)height;  
Parameters
deviceId

deviceId视频流id

zorder

层级

x

0-1.0 x 坐标 example 屏幕宽320 布局在x为160 时 x = 0.5

y

0-1.0 x 坐标 example 屏幕宽320 布局在x为160 时 x = 0.5

width

0-1.0 example 屏幕宽320 布局在宽为100 时 x = 100/320

height

0-1.0 example 屏幕高640 布局在x为160 时 x = 160/640

Return Value

错误代码

Discussion

添加视频布局


clearSubVideos


- (void)clearSubVideos;  
Discussion

清空所有视频布局


modSubVideo:zorder:x:y:width:height:


- (AVDResult)modSubVideo:(AVDDeviceId)deviceId zorder:(NSInteger)zorder 
        x:(float)x y:(float)y width:(float)width height:(float)height;  
Parameters
deviceId

deviceId视频流id

zorder

层级

x

0-1.0 x 坐标 example 屏幕宽320 布局在x为160 时 x = 0.5

y

0-1.0 x 坐标 example 屏幕宽320 布局在x为160 时 x = 0.5

width

0-1.0 example 屏幕宽320 布局在宽为100 时 x = 100/320

height

0-1.0 example 屏幕高640 布局在x为160 时 x = 160/640

Return Value

错误代码

Discussion

修改视频布局


removeSubVideo:


- (BOOL)removeSubVideo:(AVDDeviceId)deviceId;  
Parameters
deviceId

视频id

Return Value

错误代码

Discussion

移除指定视频布局