react-native-webrtc-web-shim
react-native-webrtc-web-shim copied to clipboard
RTCView should support null stream
Describe the bug
The native RTCView can be provided a streamURL of null, for example streamUrl={localStream?.toURL()}
However, the RTCView in this library throws an error if localStream is null, for example stream={localStream}
It would be better if stream had the same logic behind the scenes