Undocumented RtcpParameters.mux

Hi! I’m creating a PlainTransport with rtcpMux set to false (this is for a FFmpeg consumer, which doesn’t support RTP+RTCP multiplexing).

Later, the consumer created from this transport shows a RtpParameters.mux property that is not found in the docs and is set to true:

Consumer RtpParameters:
{
  "codecs": [
    {
      "mimeType": "audio/opus",
      "payloadType": 100,
      "clockRate": 48000,
      "channels": 2,
      "parameters": {},
      "rtcpFeedback": []
    }
  ],
  "headerExtensions": [],
  "encodings": [
    {
      "ssrc": 264565985
    }
  ],
  "rtcp": {
    "cname": "LA/rqVLYmOoM0q2d",
    "reducedSize": true,
    "mux": true
  },
  "mid": "0"
}

I believe this won’t affect the actual behavior of mediasoup, as it seems to be just a hardcoded value (maybe here? although I’m not 100% sure), but seeing that this has been there for several years and not shown in docs, piqued my curiosity. Nothing to worry about, right? (I mean rtcp-mux will be disabled for the Transport)

Right, hardcoded. It shouldn’t. It should be a param in that function in ortc.ts.