|
|
@@ -5,7 +5,7 @@ import { batch } from 'react-redux';
|
|
5
|
5
|
|
|
6
|
6
|
import ConnectionIndicatorContent from
|
|
7
|
7
|
'../../../../features/connection-indicator/components/web/ConnectionIndicatorContent';
|
|
8
|
|
-import { isMobileBrowser } from '../../../base/environment/utils';
|
|
|
8
|
+import { isIosMobileBrowser, isMobileBrowser } from '../../../base/environment/utils';
|
|
9
|
9
|
import { translate } from '../../../base/i18n';
|
|
10
|
10
|
import { Icon, IconMenuThumb } from '../../../base/icons';
|
|
11
|
11
|
import { getLocalParticipant, getParticipantById, PARTICIPANT_ROLE } from '../../../base/participants';
|
|
|
@@ -274,6 +274,10 @@ class RemoteVideoMenuTriggerButton extends Component<Props> {
|
|
274
|
274
|
} = this.props;
|
|
275
|
275
|
|
|
276
|
276
|
const buttons = [];
|
|
|
277
|
+ const showVolumeSlider = !isIosMobileBrowser()
|
|
|
278
|
+ && onVolumeChange
|
|
|
279
|
+ && typeof initialVolumeValue === 'number'
|
|
|
280
|
+ && !isNaN(initialVolumeValue);
|
|
277
|
281
|
|
|
278
|
282
|
if (_isModerator) {
|
|
279
|
283
|
if (!_disableRemoteMute) {
|
|
|
@@ -348,7 +352,7 @@ class RemoteVideoMenuTriggerButton extends Component<Props> {
|
|
348
|
352
|
);
|
|
349
|
353
|
}
|
|
350
|
354
|
|
|
351
|
|
- if (onVolumeChange && typeof initialVolumeValue === 'number' && !isNaN(initialVolumeValue)) {
|
|
|
355
|
+ if (showVolumeSlider) {
|
|
352
|
356
|
buttons.push(
|
|
353
|
357
|
<VolumeSlider
|
|
354
|
358
|
initialValue = { initialVolumeValue }
|