-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
How to use H264 instead of VP8 for video #877
Comments
laolsson, Jicofo is responsible for sending the codecs that the bridge itself supports. Since the bridge is the proxy for all of your PeerConnections, it will only negotiate the codecs that the bridge itself advertises. If you patch src/main/java/org/jitsi/jicofo/util/JingleOfferFactory.java you can add any codecs you like, including VP9. Here is an example patch I use for H.264:
|
I tried this, and it does cause jicofo to advertise h264 in its jingle messages, but in a test conference between a regular chrome window and an incognito chrome window I don't get a video connection. Audio works as normal but the screen just shows "chrome is having connectivity issues...". Do I need to do anything else to chrome or the videobridge to make this work with h264? There aren't any obvious errors in the console, but it does say that the video is muted ("video is now active <video muted="true" autoplay "...). Do I need to do something to unmute it? Attaching chrome console log and logs from the docker container running jicofo, jvb, prosody, and nginx in case those help. |
zosnap, I remember now I ran into this same issue with Chrome- so I went back and dug through my checkins and found this.
|
@thedracle I just tried on latest Chrome stable (62.0.3202.75) both in p2p mode and in multi-party mode and it works correctly whether it is lower or upper case; however, there may have been an issue with older Chrome versions (and this is a very old issue). |
Have you set the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
is any solution without patch jicofo? |
There is an official way of doing it now, via config: See:
The same options are on p2p as well. You could prefer H264, set disableH264 to false. Both of your endpoints will of course have to support H264. Unfortunately with testing we experienced various intermittent issues using H264, and switched back to VP8. |
Hi,
I followed the quick install guide here:
https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md
and it all works well, using VP8 video codec.
However, I can't figure out how to change the video codec to be H264, how do I do that?
I have tried setting the preferred codec in Firefox but this does not seem to change the sent SDP.
Thanks,
Lars
The text was updated successfully, but these errors were encountered: