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
Current behavior:
While using Android 11's Chrome browser, any attempt to switch between front and rear cameras causes the entire browser to freeze.
Expected behavior:
The user should be able to switch between cameras without causing the browser to freeze.
Steps to reproduce:
Open the pwa-camera overlay, the camera initializes and starts streaming as expected.
Attempt to switch to rear camera, the browser becomes unresponsive without any errors showing on the console.
Tested in a fresh project, against both Capacitor v2 and v3, and using the latest pwa-elements version:
@capacitor/core": "^2.4.7"
@ionic/pwa-elements": "^3.0.2"
npm list @stencil/core
-- @stencil/[email protected]
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior:
While using Android 11's Chrome browser, any attempt to switch between front and rear cameras causes the entire browser to freeze.
Expected behavior:
The user should be able to switch between cameras without causing the browser to freeze.
Steps to reproduce:
Tested in a fresh project, against both Capacitor v2 and v3, and using the latest pwa-elements version:
@capacitor/core": "^2.4.7"
@ionic/pwa-elements": "^3.0.2"
The issue can be reproduced on:
Workign as expected on:
Related code:
rotate() attempts to stop previous streams and it seems to be the causing the issue:
stopStream() {
this.stream && this.stream.getTracks().forEach(track => track.stop());
}
Other information:
Twilio's issue tracker shows the same issue and some possible solutions:
twilio/twilio-video-app-react#355
I intend to submit a pull request with one of the possible workarounds.
The text was updated successfully, but these errors were encountered: