-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.x][Audiobridge] Couple minor issues in "enable_mjrs" request handling #3171
Comments
And btw I didn't find |
You should look harder, then, it is there 😝 https://github.com/meetecho/janus-gateway/blob/master/src/plugins/janus_audiobridge.c#L269-L285 I'll have a look at the code with respect to your other notes. IIRC, at the time that variable was meant to detect whether there had been a change, but we may have changed the logic since the first PR. |
Oops, my fault, I think I was looking to videoroom docs 🤦♂️ Sorry. |
Looks like this dates back to #2674, which we used as a basis for the |
Fixed |
First issue is very minor:
janus-gateway/src/plugins/janus_audiobridge.c
Lines 3823 to 3833 in 961b576
it looks like
room_prev_mjrs_active
can be removed safely and replaced directly withmjrs_active
.Second issue is almost in the same place:
janus-gateway/src/plugins/janus_audiobridge.c
Lines 3824 to 3830 in 961b576
i.e. If incoming
enable_mjrs
request contains onlymjrs_dir
but notmjrs
- dir will not be updated. And if nextenable_mjrs
will not containmsrs_dir
but onlymjrs = true
, recording will start to wrong dir.The text was updated successfully, but these errors were encountered: