Thank you for your suggestion, I can see the audio check box now.
However, in the screen share video tag, the audio still show disable, and can’t hear any voice from it.
My settings as below, is it correct?
var displayMediaOptions = {
video: {
cursor: "always"
},
audio: true
};
let mediaDevices = navigator.mediaDevices as any;
mediaDevices.getDisplayMedia(displayMediaOptions).then((screenStream) => {
let screenVideoTrack = screenStream.getVideoTracks()[0];
let screenAudioTrack = screenStream.getAudioTracks()[0];
this.OVScreen.initPublisherAsync(undefined, {
audioSource: screenAudioTrack,
videoSource: screenVideoTrack,
publishAudio: true,
publishVideo: true,
mirror: false
})
//this.OVScreen.initPublisherAsync(undefined, publisherProperties)
.then((publisher: Publisher) => {................
