import { RealtimePlayer } from "@outspeed/react";


export function RealtimePlayerContainer() {
  const { remoteStream } = props

  return <RealtimePlayer streamURL={remoteStream.toURL()} />
}
import { RealtimePlayer } from "@outspeed/react";


export function RealtimePlayerContainer() {
  const { remoteStream } = props

  return <RealtimePlayer streamURL={remoteStream.toURL()} />
}

RealtimePlayer is a React Native component built using react-native-webrtc’s RTCView to display WebRTC video streams.

Props

streamURL
Track

The URL of the WebRTC stream to be rendered.