RtcSurfaceView
The RtcSurfaceView class.
This class is used for rendering.
- Android: This class corresponds to the native SurfaceView.
- iOS: This class corresponds to the native UIView.
To ensure the rendering of the image, before calling this component, you should proceed based on whether you are joining a channel:
- Not joining a channel: First call startPreview, and then call enableVideo.
- Joining a channel: First ensure capture is enabled, and then call enableVideo.