Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop disabled video track when Safari #13

Conversation

havardholvik
Copy link
Collaborator

@havardholvik havardholvik commented Oct 5, 2023

Previously, only Chrome needed to stop the video track to make the camera light turn off. Recent Safari releases have now opted to use the same logic, meaning we need to do the same for Safari on our end.

See upcoming PWA PR for test instructions

📦 Published PR as canary version: 1.0.5--canary.13.6430264587.0

✨ Test out this PR locally via:

npm install @whereby/jslib-media@1.0.5--canary.13.6430264587.0
# or 
yarn add @whereby/jslib-media@1.0.5--canary.13.6430264587.0

@havardholvik havardholvik force-pushed the havard/pan-243-camera-light-indicator-does-not-turn-off-in-safari branch from aa10a60 to 881a7af Compare October 5, 2023 09:25
@havardholvik havardholvik force-pushed the havard/pan-243-camera-light-indicator-does-not-turn-off-in-safari branch from 881a7af to c897165 Compare October 6, 2023 07:14
Copy link
Contributor

@nandito nandito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added 1-2 questions, but non of them blocks the PR. I like the nice tests! 👏

tests/webrtc/VegaRtcManager.spec.js Show resolved Hide resolved
tests/webrtc/stats/PerformanceMonitor.spec.js Outdated Show resolved Hide resolved
Previously, only Chrome needed to stop the video track to make the
camera light turn off. Recent Safari releases have now opted to use the
same logic, meaning we need to do the same for Safari on our end.
@havardholvik havardholvik force-pushed the havard/pan-243-camera-light-indicator-does-not-turn-off-in-safari branch from c897165 to 9ecddba Compare October 6, 2023 10:05
@havardholvik havardholvik merged commit 4937cb6 into main Oct 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants