mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Set mute -> mute
This commit is contained in:
parent
c064336e35
commit
ce5c5779bd
@ -27,7 +27,7 @@ export function getStreamVideoTrack(stream: Stream | undefined): Track | undefin
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function mute(localMedia: LocalMedia, localMuteSettings: MuteSettings, log: ILogItem) {
|
export function mute(localMedia: LocalMedia, localMuteSettings: MuteSettings, log: ILogItem) {
|
||||||
return log.wrap("setMuted", log => {
|
return log.wrap("mute", log => {
|
||||||
log.set("cameraMuted", localMuteSettings.camera);
|
log.set("cameraMuted", localMuteSettings.camera);
|
||||||
log.set("microphoneMuted", localMuteSettings.microphone);
|
log.set("microphoneMuted", localMuteSettings.microphone);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user