@solid thorn
Hakeron Uploaded Some Code
I am building a streaming web application using WebRTC and Web Sockets to handle communication. I managed to implement everything, but I am currently struggling with a screen sharing functionality.
Currently, the screen sharing feature works and other peers in the room can see the shared screen content correctly. But after toggling screen sharing for the first time, I can't turn on or off my microphone. I also tried putting some logs and the listener for the mute-audio-btn works fine, I think the problem is that I lose the reference to the audioTrack.
Uploaded these files to a Gist
For safety reasons we do not allow file attachments.