-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Segfault when creating offer with "audio: false" from CHROME #32
Comments
Thanks for the info: I was talking with another user of the fact that we hadn't tested the no-audio scenarios extensively, and your report confirms that there definitely is something that needs to be fixed there. The root cause of the issue is probably the bundling that happens in Chrome and not Firefox. By the way, have you checked with the latest version I committed a few minutes ago? There were changes to address bundling itself, and so something may have already been fixed in the process. It's weird that audio:false fails, while recvAudio:false and sendAudio:false doesn't, though, as the former is a way to quick way to state the latter. I'll try and reproduce myself ASAP. |
Just FYI, the right syntax for sendonly/recvonly audio is not |
Ah ! This may explain why firefox still asks me for audio when I do that. I'll try that right now. |
Indeed : Firefox doesn't ask me for audio anymore, and you were right : when using |
(Sorry for multi post). I hope it helps you narrow down the code which causes that fault. |
Yep, I just replicated the issue locally. From a quick look it's definitely a mistake in handling the bundling im that case, so I'll start working on that right now. It's quite silly of me that I never tried that myself, though :-) The audioRecv:false shouldn't be an issue per se, as we use sendonly streams in the Video MCU for publishers and it works fine there, but I'll have to check that as well. |
Just pushed a commit that should fix the issue (at least it does for me in the Echo Test). Let me know if it works for you as well, otherwise feel free to reopen the issue. |
It's okay now, no segfault anymore. |
How to reproduce the error :
In the attach success callback, use
createOffer
withmedia: { audio: false }
and try with Chrome.It works well with Firefox (30.0) but makes Janus segfaults with Chrome (35.0.xxxx), I am using Archlinux 64 bits.
It doesnt make Janus segfault when using
media: {recvAudio: false, sendAudio: false}
.One can reproduce the bug easily by editing the echotest javascript file.
Last lines of console for info :
The text was updated successfully, but these errors were encountered: