NERTC Android SDK V5.8.10
|
Public 成员函数 | |
NERtcTextureView (Context context) | |
NERtcTextureView (Context context, AttributeSet attrs) | |
void | setScalingType (int type) |
void | setScalingType (ScalingType type) |
void | setVideoBufferType (VideoBufferType bufferType) |
VideoBufferType | getVideoBufferType () |
void | setExternalRender (boolean enable) |
boolean | isExternalRender () |
void | setMirror (boolean mirror) |
boolean | isMirror () |
void | setVisibility (int visibility) |
void | clearImage () |
void | onFrame (VideoFrame videoFrame) |
void | setLocalViewActionListener (VideoViewActionListener viewActionListener, int type) |
void | markAsRemoteView () |
Public 属性 | |
LiteTextureView | mVideoView |
int | mirrorMode = LiteSDKVideoMirrorMode.kLiteSDKVideoMirrorModeAuto |
void com.netease.lava.nertc.sdk.video.NERtcTextureView.clearImage | ( | ) |
清除画布
void com.netease.lava.nertc.sdk.video.NERtcTextureView.setMirror | ( | boolean | mirror | ) |
设置是否开启镜像模式,即画面是否左右翻转。
如果使用前置摄像头,SDK 默认启用镜像模式;如果使用后置摄像头,SDK 默认关闭镜像模式。
mirror | 是否开启镜像模式。 |
void com.netease.lava.nertc.sdk.video.NERtcTextureView.setScalingType | ( | int | type | ) |
void com.netease.lava.nertc.sdk.video.NERtcTextureView.setScalingType | ( | ScalingType | type | ) |
设置显示模式。
type | NERtcConstants.VideoScalingType 。 |