Remove emmiting that isn't useful for us now

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-06-23 10:39:10 +02:00
parent 95624b3fa6
commit 1bef985d46
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 0 additions and 4 deletions

View File

@ -28,8 +28,6 @@ interface IMediaDevices {
export enum MediaDeviceHandlerEvent {
AudioOutputChanged = "audio_output_changed",
AudioInputChanged = "audio_input_changed",
VideoInputChanged = "video_input_changed",
}
export default class MediaDeviceHandler extends EventEmitter {
@ -100,7 +98,6 @@ export default class MediaDeviceHandler extends EventEmitter {
public setAudioInput(deviceId: string): void {
SettingsStore.setValue("webrtc_audioinput", null, SettingLevel.DEVICE, deviceId);
setMatrixCallAudioInput(deviceId);
this.emit(MediaDeviceHandlerEvent.AudioInputChanged, deviceId);
}
/**
@ -111,7 +108,6 @@ export default class MediaDeviceHandler extends EventEmitter {
public setVideoInput(deviceId: string): void {
SettingsStore.setValue("webrtc_videoinput", null, SettingLevel.DEVICE, deviceId);
setMatrixCallVideoInput(deviceId);
this.emit(MediaDeviceHandlerEvent.VideoInputChanged, deviceId);
}
public static getAudioOutput(): string {