Rotate sent video to match the device orientation using VIVideoRotation while adjusting the incoming stream view with
React Native SDK
The VideoView component renders a video stream with its ID and scaleType (possible values are SCALE_FIT, SCALE_FILL). Each video stream should be rendered via the separate VideoView component instance:
It is strictly required to handle the CallEventTypes.LocalVideoStreamAdded event to process a local video stream. Note that there is also the CallEventTypes.LocalVideoStreamRemoved event which notifies that a local video stream has stopped.
To process a remote video stream, there is a need to handle the EndpointEventTypes.RemoteVideoStreamAdded event; the EndpointEventTypes.RemoteVideoStreamRemoved event notifies that a remote video stream has stopped.