That’s where I observed them. And I might be totally off because of inadequate knowledge, I would love to be corrected. Here is where I’m coming from.
Webrtc uses the PeerConnection object to connect to a remote endpoint, the remote end point can be either another browser or an SFU or an MCU or whatever. The only thing that ensures a connection between the two is an offer and an answer.
In my knowledge mediasoup internally negotiates an SDP with the server whenever a new consumer or a new producer is added, that’s why anytime i enableShare or enable/disable microphone there’s an offer and an answer SDP exchanged. And it makes sense because even in a P2P connection if either one of the endpoints adds a new stream or a track ‘onnegotiationneeded’ is fired.
So I was just wondering if all of this is in place, should it be possible to make it peer to peer.