-
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] janus-pp-rec is broken and inconsistent #3462
Comments
I can't replicate this with the recordings I have: it always shows the full (and same) details. If it aways happens for you with a specific recording, please share the mjr file so that we can check what's wrong with it. That said, I don't think the comment you mentioned has anything to do with it, since it's a minimum change to address an FFmpeg API change, and audio only. If you know a commit where it always worked, and one where it never does, you can use |
Upon using git bisect, commit I am using videoroom's enable_recording api to record and the problem is for all files, but everything works fine before this commit. I don't have much knowledge of janus's internal working so cannot find what the problem exactly is. Platform info if relevant: |
@sandeshtreeleaf the commit you pointed out is our refactoring of the logger functionality (see #3428 for details), which I kinda suspected was what was hitting you. In my tests I eventually managed to replicate the problem, but only for like 1% of the times (on a loop of 1000 attempts, only about 10 of those were cut short). I pushed a tentative fix for that in the commit above and now I can't replicate it anymore, please pull the latest version and let us know if that fixes it for you too. |
@lminiero I can confirm it has been fixed. |
Same setup as yours, probably, since my laptop runs Fedora 40 too. |
What version of Janus is this happening on?
Put the version and the commit identifier (available in
version.c
or from aninfo
request) hereVersion: 1.3.0
Identifier: 5f4fa0c
Have you tested a more recent version of Janus too?
Yes
Was this working before?
Yes, Before updating/pulling latest changes from meetecho/janus-gateway the tool was working fine,
I can still checkout to cefca79 and build then the tool works as expected
Is there a gdb or libasan trace of the issue?
NO
Additional context
janus-pp-rec --header file.mjr
used to produce info that included Created and Written timestamp, latest version of it does not give that info and is very inconsistent.Same command(janus-pp-rec --header file.mjr) produces different outputs for same file
on latest version, executing exactly same command on same file multiple times yeilds different result
after git checkout cefca79
The text was updated successfully, but these errors were encountered: