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

Props are not handled as expected

Open gavrilikhin-d opened this issue 5 months ago • 3 comments

Describe the bug If you use mirror prop, then you would get:

Warning: Received `true` for a non-boolean attribute `mirror`.

If you want to write it to the DOM, pass a string instead: mirror="true" or mirror={value.toString()}.
    at video
    at Video
    at RTCView (webpack://mobile/./node_modules/react-native-webrtc-web-shim/src/RTCView.web.js?:1:1135)

Versions (please complete the following information):

  • React Native Version: 0.73.2
  • React Native Web Version: 0.19.10
  • React Native WebRTC Version: 118.0.0

gavrilikhin-d avatar Feb 13 '24 08:02 gavrilikhin-d