jiti-meet/react/features/screen-share/actions.js

20 lines
470 B
JavaScript
Raw Normal View History

// @flow
import { SET_SCREEN_AUDIO_SHARE_STATE } from './actionTypes';
/**
* Updates the current known status of the shared video.
*
* @param {boolean} isSharingAudio - Is audio currently being shared or not.
* @returns {{
* type: SET_SCREEN_AUDIO_SHARE_STATE,
* isSharingAudio: boolean
* }}
*/
export function setScreenAudioShareState(isSharingAudio: boolean) {
return {
type: SET_SCREEN_AUDIO_SHARE_STATE,
isSharingAudio
};
}