livekit / client-sdk-js

LiveKit browser client SDK (javascript)
https://livekit.io
Apache License 2.0
335 stars 146 forks source link

Force playback after app visibility changes back to visible #1106

Closed lukasIO closed 5 months ago

lukasIO commented 5 months ago

On Safari sometimes the video element failed to auto play again after the browser came back from being in the background. In order to work around this, we force play to be called on all attached elements once the app comes back into the foreground.

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: 4761684e59a436823e6ae0764809aa8e766a5734

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | livekit-client | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 5 months ago

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 83.34 KB (+0.03% 🔺)
dist/livekit-client.umd.js 88.9 KB (+0.03% 🔺)