Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(media_actions): remove unused actions
hristoterezovf050e7026d55
diff --git a/react/features/base/media/actions.js b/react/features/base/media/actions.jsindex c54d0cedeb..79a203b194 100644--- a/react/features/base/media/actions.js+++ b/react/features/base/media/actions.js@@ -112,19 +112,6 @@ export function setVideoMuted(};}-/**- * Toggles the mute state of the local audio track(s).- *- * @returns {Function}- */-export function toggleAudioMuted() {- return (dispatch: Dispatch<*>, getState: Function) => {- const muted = getState()['features/base/media'].audio.muted;-- return dispatch(setAudioMuted(!muted));- };-}-/*** Toggles the camera facing mode. Most commonly, for example, mobile devices* such as phones have a front/user-facing and a back/environment-facing@@ -141,18 +128,3 @@ export function toggleCameraFacingMode() {type: TOGGLE_CAMERA_FACING_MODE};}--/**- * Toggles the mute state of the local video track(s).- *- * @returns {Function}- */-export function toggleVideoMuted() {- return (dispatch: Dispatch<*>, getState: Function) => {- const muted = getState()['features/base/media'].video.muted;-- // XXX The following directly invokes the action creator in order to- // silence Flow.- return setVideoMuted(!muted)(dispatch, getState);- };-}