mediasoup 3.18.0 released

mediasoup 3.18.0 has been released. It comes with some changes related to TypeScript types (that are also applied in mediasoup-client 3.14.0);

  • preferredPayloadType in RtpCodecCapability is no longer optional (now it’s mandatory as it should always have been).
  • New type RouterRtpCodecCapability which is the same as RtpCodecCapability but with preferredPayloadType as optional field. This is the type given to worker.createRouter({ mediaCodecs }) in the mediaCodecs array.
  • supportedRtpCapabilities now have RouterRtpCapabilities as type, which is the same as RtpCapabilities but the codecs array has RouterRtpCodecCapabilityentries rather than RtpCodecCapability.

Related PR: Make `RtpCodecCapability.preferredPayloadType` mandatory by ibc · Pull Request #1584 · versatica/mediasoup · GitHub

Everything is docomented in the website:

2 Likes

like

Jagdeep Singh reacted to your message:

This topic was automatically closed after 2 days. New replies are no longer allowed.