mediasoup

/ home / Documentation / v3 / mediasoup-client / React Native

React Native

In order to use mediasoup-client in React Native (for building Android and iOS apps):

  • By calling registerGlobals(), classes such as RTCPeerConnection and MediaStream (among others) will be exposed in the global scope.
  • Those classes are required for the ReactNative handler (or the new ReactNativeUnifiedPlan handler) of mediasoup-client to work.