Skip to content

[stable15] Fix last local media state not remembered when the UI is reloaded#1550

Merged
Ivansss merged 2 commits into
stable15from
backport/1548/stable15
Feb 18, 2019
Merged

[stable15] Fix last local media state not remembered when the UI is reloaded#1550
Ivansss merged 2 commits into
stable15from
backport/1548/stable15

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #1548

When the local video is enabled or disabled its state is written to the
local storage in order to restore it in the next call. However, due to a
typo, the previous value was not properly set again when the Talk UI was
reloaded.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
When the local audio is enabled or disabled its state is written to the
local storage in order to restore it in the next call. However, the
previous value was not properly set again when the Talk UI was reloaded;
when the MediaControlsView is created the audio is not available yet, so
calling "disableAudio()" did nothing. Moreover, as "audioDisabled" was
not set to "false" once the audio was available the audio was always
enabled in "initAudioVideoSettings".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@Ivansss
Ivansss merged commit b7ed8b5 into stable15 Feb 18, 2019
@Ivansss
Ivansss deleted the backport/1548/stable15 branch February 18, 2019 16:06
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