RCRTCVideo
    Implements VideoRenderer.Callbacks by displaying the video stream on a SurfaceView. renderFrame() is asynchronous to avoid blocking the calling thread. This class is thread safe and handles access from potentially four different threads: Interaction from the main app in init, release, setMirror, and setScalingtype. Interaction from C++ rtc::VideoSinkInterface in renderFrame. Interaction from the Activity lifecycle in surfaceCreated, surfaceChanged, and surfaceDestroyed. Interaction with the layout framework in onMeasure and onSizeChanged.
Properties
Link copied to clipboard
                  public int drawingMode
CDN渲染相关 0:默认执行RTC流绘制 1:执行CDN流绘制
Link copied to clipboard
                  public int rotatedFrameHeight
Link copied to clipboard
                  public int rotatedFrameWidth
Functions
Link copied to clipboard
                  Register a needCallback to be invoked when a new video frame has been received.
Link copied to clipboard
                  清空屏幕
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  是否允许渲染
Link copied to clipboard
                  Link copied to clipboard
                  RTC 内部方法,禁止开发者调用
Link copied to clipboard
                  Enables fixed size for the surface.
Link copied to clipboard
                  Limit render framerate.
Link copied to clipboard
                  Link copied to clipboard
                  @Deprecated()
Link copied to clipboard
                  Link copied to clipboard
                  Set how the video will fill the allowed layout area.
public void setScalingType(ScalingType scalingTypeMatchOrientation, ScalingType scalingTypeMismatchOrientation)
Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard
                  Link copied to clipboard