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
__namedParametersrequired
object
mirroroptional
boolean
(default:false)Indicates whether the video specified by 'streamURL' should be mirrored during rendering. Commonly, applications choose to mirror theuser-facing camera.objectFitoptional
string
(default:contain)Can be contain or coverstreamURLoptional
string
zOrderoptional
bool
(default:true)maxResolutionoptional
number
(default:0)Similar to zIndex in web
Properties
Got a Question? Ask us on discord