You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding is that this is because the code is not retrieved from the most recent request, so is still using the value from the original DESCRIBE request. The fix would be to get the code after checking that the request was sent ok (or assume the request was OK given we just succeeded in our DESCRIBE request).
Makes sense, we're already using curl_easy_getinfo to check the response to a DESCRIBE to I guess we should indeed use it for other requests too (and not just SETUP). No need for a PR as you highlighted the problem clearly, I'll prepare a commit for master shortly (even though I guess we'll have to make the same fix in 0.x as well).
What version of Janus is this happening on?
52f86d5
When connecting to an RTSP source that doesn't respond with a 200 OK request, Janus assumes it did get a 200 OK and continues.
https://github.com/meetecho/janus-gateway/blob/db3300d9263b353b247cb3d9316cb1e87e83dc1a/src/plugins/janus_streaming.c#L7558-7570
My understanding is that this is because the code is not retrieved from the most recent request, so is still using the value from the original DESCRIBE request. The fix would be to get the code after checking that the request was sent ok (or assume the request was OK given we just succeeded in our DESCRIBE request).
Similarly this would need to be added at line 7745.
I can create a PR for this if requested.
The text was updated successfully, but these errors were encountered: