Firefox only error - Missing rid

I don’t have enough information about this error yet but I only receive it in a deployed environment and just identified this week. I have no issues connecting to the localhost mediasoup server using Firefox.

The error message is pretty obvious missing rid but my lack of knowledge doesn’t ring any bell in how to fix it:)

It is failing in the below method.

this.videoProducer = await this.sendTransport.produce({
        track: videoTrack,
        encodings,
        codecOptions: {
          videoGoogleStartBitrate: 1000,
        },
        codec,
      })

The params passed are:

encodings:
[
  {
    "scaleResolutionDownBy": 4,
    "maxBitrate": 500000
  },
  {
    "scaleResolutionDownBy": 2,
    "maxBitrate": 1000000
  },
  {
    "scaleResolutionDownBy": 1,
    "maxBitrate": 5000000
  }
]

codecOptions: 
{
  videoGoogleStartBitrate: 1000,
}

codec: undefined

The undefined codec I pass won’t fall back to the first available codec e.g. VP8?

I am using "mediasoup-client": "^3.6.12" and Firefox latest version 83.0 (64-bit). Any ideas where to start debugging? Is that related to the client<>server RTP Parameters? To clarify I’ve tested it before (in the previous firefox version most probably) and worked fine.

Chrome and Safari are working properly (local and hosted environments).

Please upgrade to the latest version and open an issue in GitHub if it happens again.

1 Like

OK will do! Thanks for your prompt reply.
To clarify, I will update client and server libs to the below latest npm versions.

mediasoup-client: 3.6.22
mediasoup: 3.6.28

Updating to the latest versions caused the issue to reproduced in localhost environment too. I will open a Github issue with the information in this ticket.

The issue has been fixed in mediasoup-client 3.6.23. Reference Github issue.