Skip to main content

RTC Stream

using RTCView in your app#

To display participant video and screen share, you have to use RTCView component.

Using RTCView
<RTCView streamURL={this.state.stream.toURL()} />

Parameters#

  • __namedParametersrequiredobject

      Properties
    • mirroroptionalboolean(default:false)

      Indicates whether the video specified by 'streamURL' should be mirrored during rendering. Commonly, applications choose to mirror theuser-facing camera.
    • objectFitoptionalstring(default:contain)

      Can be contain or cover
    • streamURLoptionalstring

    • zOrderoptionalbool(default:true)

    • maxResolutionoptionalnumber(default:0)

      Similar to zIndex in web