kms_sdp_reject_media_handler_init_answer #78
Replies: 3 comments 1 reply
-
Would be a good idea to show a sample SDP that is being sent to the server! Please share one, you can just copy it here (better if you apply "code" formatting in the reply editor) From the top of my mind, the most common issue that could happen is that there are more than 1 audio and 1 video. Kurento doesn't implement support for multiple tracks per "Peer connection" (WebRtcEndpoint), so if you have e.g. 2 "m=video" lines, that will be rejected. |
Beta Was this translation helpful? Give feedback.
-
Do you have any other warnings in the logs? Did you raise the logging level to Debug so more messages are displayed? The target is to see if any relevant message appears in the log, such as this (1), this (2), this (3), or this (4). |
Beta Was this translation helpful? Give feedback.
-
Mr. Juan Navarro , thank you very much for your response. I didn't see the logs you mentioned. However, by comparing the SDP sent from the web with the SDP that came from Android, I noticed that the line 'a=fingerprint:sha-256 ...' was not being sent. By setting this value, we were able to see the presenter's video. Have a nice day. |
Beta Was this translation helpful? Give feedback.
-
We are using Kurento Media Server 7. In the backend, we use Node.js, and it works correctly for the web. However, since Kurento has not provided updates for Android for several years, we used pure WebRTC code to create SDP offers and ICE candidates. We did not see any errors in the Node.js project. However, on the media server, I see the following log:
0x7f0f8800b700 WARN sdprejectmediahandler kmssdprejectmediahandler.c:109:kms_sdp_reject_media_handler_init_answer:<KmsSdpRejectMediaHandler@0x7f0f8000df00> Rejecting media: 'video'
And the following piece of code in Node.js does not execute:
As a result, ICE candidates are not being sent to the user.
I would appreciate it if someone could guide me on how to generate correct SDP from Android so that the media server does not encounter errors.
Have a nice day.
Beta Was this translation helpful? Give feedback.
All reactions