You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mute and Unmute not working in openvidu insecure angular application. I tried below scenarios but not working in console publisher undefined error comes always.
audioSource: undefined, // The source of audio. If undefined default microphone
videoSource: false, // The source of video. If undefined default webcam
publishAudio: true, // Whether you want to start publishing with your audio unmuted or not
publishVideo: false, // Whether you want to start publishing with your video enabled or not
//resolution: "640x480", // The resolution of your video
//frameRate: 30, // The frame rate of your video
//insertMode: "APPEND", // How the video is inserted in the target element 'video-container'
//mirror: false // Whether to mirror your local video or not
}
);
this.session.publish(publisher);
this.mainStreamManager = publisher;
this.publisher = publisher;`
------ Muteunmute code----
onMuteorUnmute(e, ctype) { this.muteUnmute = !this.muteUnmute; publisher.publishAudio(this.muteUnmute); // true to unmute the audio track, false to mute it publisher.publishVideo(this.muteUnmute); // true to enable the video track, false to disable it }
Not working
The text was updated successfully, but these errors were encountered:
Hello All,
Mute and Unmute not working in openvidu insecure angular application. I tried below scenarios but not working in console publisher undefined error comes always.
used below.
https://openvidu.io/docs/cheatsheet/mute-audio-video/
`let publisher: Publisher = this.OV.initPublisher(
undefined,
{
------ Muteunmute code----
onMuteorUnmute(e, ctype) { this.muteUnmute = !this.muteUnmute; publisher.publishAudio(this.muteUnmute); // true to unmute the audio track, false to mute it publisher.publishVideo(this.muteUnmute); // true to enable the video track, false to disable it }
Not working
The text was updated successfully, but these errors were encountered: