react-native-webrtc-web-shim icon indicating copy to clipboard operation
react-native-webrtc-web-shim copied to clipboard

RTCView should support null stream

Open wilkinsonj opened this issue 7 months ago • 1 comments

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

wilkinsonj avatar Jul 06 '24 12:07 wilkinsonj