In order to use mediasoup-client in React Native (for building Android and iOS apps):
registerGlobals()
, classes such as RTCPeerConnection
and MediaStream
(among others) will be exposed in the global scope.ReactNative
handler of mediasoup-client to work.