Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #3912

danxuliu added 3 commits July 17, 2020 11:28
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
When getting the user media for the first time both audio and video are
requested. If video is not available then the user media is got again
requesting only audio. However, as the media constraints were reused in
any following user media request as soon as video failed once it was
never requested again. Therefore if a camera was plugged in later it was
ignored until Talk was restarted.

Now getting the user media always tries first with both audio and video
and then fallbacks to trying only with audio, even if video was not
available in a previous request.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
The error is shown only if there was an actual error when getting the
video; it is not shown if there is simply no camera, or if neither audio
nor video could be got (as there was already a different toast in place
in that case).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu merged commit 88126be into stable19 Jul 20, 2020
@danxuliu danxuliu deleted the backport/3912/stable19 branch July 20, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants