agora-appbuilder-core 4.0.0-beta.15 → 4.0.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -187,9 +187,9 @@ const Create = ({
|
|
|
187
187
|
mode == ChannelProfile.LiveBroadcasting &&
|
|
188
188
|
rtcProps?.role == ClientRole.Audience
|
|
189
189
|
) {
|
|
190
|
-
|
|
190
|
+
enableVideoAndAudioWithDisabledState();
|
|
191
191
|
} else {
|
|
192
|
-
|
|
192
|
+
enableVideoAndAudioWithEnabledState();
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
|
|
@@ -415,12 +415,12 @@ const Create = ({
|
|
|
415
415
|
}
|
|
416
416
|
// This updates the uid interface
|
|
417
417
|
dispatch({
|
|
418
|
-
type:
|
|
418
|
+
type: 'LocalMuteAudio',
|
|
419
419
|
value: [ToggleState.disabled],
|
|
420
420
|
});
|
|
421
421
|
if (!audioRoom) {
|
|
422
422
|
dispatch({
|
|
423
|
-
type:
|
|
423
|
+
type: 'LocalMuteVideo',
|
|
424
424
|
value: [ToggleState.disabled],
|
|
425
425
|
});
|
|
426
426
|
}
|
|
@@ -436,12 +436,12 @@ const Create = ({
|
|
|
436
436
|
await engine.current?.muteLocalVideoStream(true);
|
|
437
437
|
}
|
|
438
438
|
dispatch({
|
|
439
|
-
type:
|
|
439
|
+
type: 'LocalMuteAudio',
|
|
440
440
|
value: [ToggleState.disabled],
|
|
441
441
|
});
|
|
442
442
|
if (!audioRoom) {
|
|
443
443
|
dispatch({
|
|
444
|
-
type:
|
|
444
|
+
type: 'LocalMuteVideo',
|
|
445
445
|
value: [ToggleState.disabled],
|
|
446
446
|
});
|
|
447
447
|
}
|