I’m using mediasoup and mediasoup-client to broadcast video from GStreamer to a browser. Mediasoup works as an endpoint for multiple GStreamer streams ( now I have one worker, one router, few plain transports and few producers with its consumers). Everything works fine, except for one thing: when I start more than one stream, the first one works fine (in 95% of cases) and the following have “black screen” for few seconds and then go fine, or crashes with the following error:
RTC::Transport::ReceiveRtpPacket() | no suitable Producer for received RTP packet [ssrc:3821358884, payloadType:96]
I was researching the issue but found no errors or problems with GStreamer. I guess, the issue might be connected with wrong RtpEncodingParameters, defined in my solution.
The RtpParameters for my producer:
{
kind: 'video',
rtpParameters: {
codecs: [{
mimeType: 'video/H264',
clockRate: 90000,
payloadType: 96,
parameters: { 'packetization-mode': 1, 'level-asymmetry-allowed': 1 },
rtcpFeedback: [
{ type: 'nack' },
{ type: 'nack', parameter: 'pli' },
{ type: 'ccm', parameter: 'fir' },
{ type: 'goog-remb' },
{ type: 'transport-cc' },
],
}],
encodings: [{ ssrc: 111110 }],
}
I wonder if the ssrc value should be different for every producer?
Could you advise me smth? Let me know if you need more additional info.