fix(toolbar): exercise old video muting flow
The redux flows for video muting may not cover all cases that the conference.js flows cover. Just exercise the old flows to be safe.
This commit is contained in:
parent
6916252ce1
commit
7ad9fa8392
|
@ -4,6 +4,7 @@ import PropTypes from 'prop-types';
|
|||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import UIEvents from '../../../../../service/UI/UIEvents';
|
||||
import {
|
||||
ACTION_SHORTCUT_TRIGGERED,
|
||||
VIDEO_MUTE,
|
||||
|
@ -117,6 +118,16 @@ export class VideoMuteButton extends AbstractVideoMuteButton {
|
|||
|
||||
_doToggleVideo: () => void;
|
||||
|
||||
/**
|
||||
* Emits an event to signal video mute should be toggled.
|
||||
*
|
||||
* @private
|
||||
* @returns {void}
|
||||
*/
|
||||
_doToggleVideo() {
|
||||
APP.UI.emitEvent(UIEvents.VIDEO_MUTED, !this.props._videoMuted);
|
||||
}
|
||||
|
||||
_onShortcutToggleVideo: () => void;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue