Closed showtan001 closed 4 months ago
Set uid to 0, the displayed screen is black, and the other party's screen is normal.
<RtcSurfaceView zOrderMediaOverlay={true} canvas={{ uid: 0, sourceType: VideoSourceType.VideoSourceRemote, }} />
Thanks!
@showtan001 If you want show local video , please change your sourceType to VideoSourceType.VideoSourceCameraPrimary for etc.
VideoSourceType.VideoSourceCameraPrimary
VideoSourceType .VideoSourceRemote is One remote video acquired by the network.
VideoSourceType .VideoSourceRemote
Set uid to 0, the displayed screen is black, and the other party's screen is normal.
Thanks!