RtcSurfaceViewProps

Properties of the RtcSurfaceView.

export interface RtcSurfaceViewProps {
  zOrderOnTop?: boolean;
  zOrderMediaOverlay?: boolean;
}

Attributes

zOrderOnTop

Controls whether to place the surface of the RtcSurfaceView on top of the window:

  • true: Place it on top of the window.
  • false: Do not place it on top of another RtcSurfaceView in the window.
zOrderMediaOverlay

Controls whether to place the surface of the RtcSurfaceView on top of another RtcSurfaceView in the window (but still behind the window):

  • true: Place it on top of another RtcSurfaceView in the window.
  • false: Do not place it on top of another RtcSurfaceView in the window.