Moderator: Mute or stop video for a peer globally (#316)

This commit is contained in:
L4ky
2020-05-08 00:23:16 +02:00
committed by GitHub
parent 837aa1ace2
commit 2eab32cafa
5 changed files with 168 additions and 0 deletions
+12
View File
@@ -69,3 +69,15 @@ export const setPeerKickInProgress = (peerId, flag) =>
type : 'SET_PEER_KICK_IN_PROGRESS',
payload : { peerId, flag }
});
export const setMutePeerInProgress = (peerId, flag) =>
({
type : 'STOP_PEER_AUDIO_IN_PROGRESS',
payload : { peerId, flag }
});
export const setStopPeerVideoInProgress = (peerId, flag) =>
({
type : 'STOP_PEER_VIDEO_IN_PROGRESS',
payload : { peerId, flag }
});