You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When user has MediaDevices disabled / not supported, the <DailyProvider/> should fail gracefully.
Describe the bug (unexpected behavior)
Currently it throws on render, bubbling up to the ErrorBoundary with Uncaught TypeError: Cannot read properties of null (reading 'ondevicechange'), killing the app.
Steps to reproduce
Simulate undefined navigator.mediaDevices by doing:
Similar to #37
Expected behavior
When user has
MediaDevices
disabled / not supported, the<DailyProvider/>
should fail gracefully.Describe the bug (unexpected behavior)
Currently it throws on render, bubbling up to the ErrorBoundary with
Uncaught TypeError: Cannot read properties of null (reading 'ondevicechange')
, killing the app.Steps to reproduce
Simulate undefined
navigator.mediaDevices
by doing:Screenshots
System information
@daily-co/daily-react
-0.22.0
@daily-co/daily-js
-0.73.0
The text was updated successfully, but these errors were encountered: