Producer score is 0.

I am getting producer score 0 and after sometime I get exception on my client side where webcam is unable to start.
On server side I get this error-


2021-05-07T08:32:45+05:30 WRN Channel > [pid:631968] RTC::Transport::ReceiveRtpPacket() | no suitable Producer for received RTP packet [ssrc:2272609134, payloadType:97]
2021-05-07T08:32:48+05:30 WRN Channel > [pid:631968] RTC::RtpStreamRecv::OnTimer() | RTP inactivity detected, resetting score to 0 [ssrc:1699496882]
2021-05-07T08:32:49+05:30 WRN Channel > [pid:631968] webrtc::ProbeController::Process() | kWaitingForProbingResult: timeout

What I am not able to figure out is This problem is caused by my server side or I am doing something wrong in client side. Or is it because of STUN/TURN?

I am getting errors on localhost so I don’t think this can be because TURN.

Also what does this exactly mean?

2021-05-07T08:40:31+05:30 DBG Worker > spawning worker process: /home/manish/bin/mediasoup-worker --logLevel=warn --logTags=info --logTags=ice --logTags=dtls --logTags=rtp --logTags=srtp --logTags=rtcp --logTags=rtx --logTags=bwe --logTags=score --logTags=simulcast --logTags=svc --logTags=sctp --rtcMinPort=40000 --rtcMaxPort=49999
2021-05-07T08:40:31+05:30 DBG Channel > constructor()
2021-05-07T08:40:31+05:30 DBG PayloadChannel > constructor()
2021-05-07 08:40:31.403883 I | closed
2021-05-07T08:40:31+05:30 DBG Worker > worker process running [pid:675200]

Is there problem when starting worker?

Well, the error is quite clear: You haven’ registered a producer on the server for your videosource 2272609134 which you are sending with your client. Hard to say on which part the error is in your implementations. Either you are registering a producer for a wrong track or you are not registering it at all. Looks more like the first to me though as there is inactivity for another track - if it was anything related to connectivity you wouldn’t have received the packet of the other source.

What about last log I provided. Is there any problem with mediasoup worker?

It seems like I have some problem in implementation of mediasoup with my server side. Because Now I can produce only one media at a time. If I turn on mic then webcam producing stops and vice versa.

I am going to try to fix it or start a cleaned and new project.