fix: ios safari infinite loader and time parameter #241
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix iOS safari infinite loader and time parameter
I noticed that in version 4.+ in mobile safari, simultaneous playback of the screen share and a webcam did not work. In version 5.0.0, this bug was fixed (or I updated ios), but in some cases in safari, when opening the page, the loader remained even after loading all the resources. There was also the bug with the
t
parameter #80Docs
I think it's related to safari webkit. Safari does not allow you to play more than one
<video>
with sound on the page.Here are links to explore: webkit bugs, webkit blog, possible solution
Added
autoPlay
attribute to screen share and webcam<video>
pause()
after screen share initialization to prevent immediately screen share playback