AgoraRteCanvasConfig
该类提供设置播放器视频渲染的相关方法。
Objective-C
@interface AgoraRteCanvasConfig : NSObject
- (void)setVideoRenderMode:(AgoraRteVideoRenderMode)mode error:(AgoraRteError * _Nullable)error;
- (AgoraRteVideoRenderMode)videoRenderMode:(AgoraRteError * _Nullable)error;
- (void)setVideoMirrorMode:(AgoraRteVideoMirrorMode)mode error:(AgoraRteError* _Nullable)error;
- (AgoraRteVideoMirrorMode)videoMirrorMode:(AgoraRteError * _Nullable)error;
@end
自从
v4.5.0
方法
setVideoMirrorMode:error:
设置视频的渲染模式。详见 setVideoMirrorMode:error:。
videoRenderMode:
获取当前设置视频的渲染模式。详见 videoRenderMode:。
setVideoMirrorMode:error:
设置视频的镜像模式。详见 setVideoMirrorMode:error:。
videoMirrorMode:
获取当前设置的视频镜像模式。详见 videoMirrorMode:。