About Mediasoup implementation of ORTC

Hi, as far as I understand, Mediasoup avoids WebRTC in favor of ORTC.

Could you please point me to some resource that could help me understand how does it do that?

From what I’ve seen ORTC is in an early state and is not supported by the browsers and WebRTC libraries.

Thank you.

ORTC is basically the same as WebRTC nowadays (it was more different back in the day).

The gist of what you need to know is that many WebRTC tools and browser’s RTCPeerConnection work with SDP (legacy text-based format), mediasoup uses typed object-centric data structures (mostly introduced in ORTC) instead. So you will not see SDP on the wire or in API, but you can bridge tools using SDP with mediasoup.

It is not either or, mediasoup works fine with browsers and multitude of tools (especially when using plain RTP that mediasoup also supports).

1 Like

That makes a lot of sense, thank you.

Does that mean the mediasoup-client uses the browser’s RTCPeerConnection and then parses the SDP messages to objects? Or even in the browser it manages to avoid the SDP messages?

This ^

1 Like

Thank you for your time.