Skip to content
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

What is the default video codec in WebRTC?How can I change this? #5

Open
hoang89yenthe opened this issue Aug 14, 2015 · 11 comments
Open

Comments

@hoang89yenthe
Copy link

What is the default video codec in WebRTC?How can I change this?

@czhao
Copy link

czhao commented Aug 14, 2015

There is no default video codec in WebRTC. You always have a choice. The API allows developer to change the video/audio codec.

@hoang89yenthe
Copy link
Author

Really, please show me the way to change video codec in webrtc.I used Libjingle peerconnection.

@hoang89yenthe
Copy link
Author

I want to use h.264 codec instead of VP8 :d

@ArikYa
Copy link

ArikYa commented Aug 14, 2015

Due to licensing limitations, H.264 in WebRTC is only available on devices that support H.264 hardware acceleration. Right now it is hard coded to support only devices that use Qualcomm chipsets, except the Galaxy S4 (due to some specific issues on that phone).

@hoang89yenthe
Copy link
Author

I know that, but I have some special reason to use h.264.Please help

@ArikYa
Copy link

ArikYa commented Aug 14, 2015

What device are you using? If the device supports H.264 using hardware, but it isn't Qualcomm based, you can always get WebRTC sources and add that chipset to the list of supported devices

@hoang89yenthe
Copy link
Author

I just want to know how to use H.264 in libjingle_peerconnection lib.I dont care about supported devices. Just how to coding for this

@ArikYa
Copy link

ArikYa commented Aug 14, 2015

Not sure I'm following you. If you are using unsupported devices, you can only do VP8. If you are using supported devices, you need to prefer H.264 in the SDP, because the preferred codec is VP8 even when H.264 is supported. Please elaborate more about what you are trying to do

@hoang89yenthe
Copy link
Author

Thanks @ArikYa. How to prefer h264 in sdp? It is a little experiment.

@LevonGhazaryan
Copy link

Hello guys i have some problems with mobile browser (on android chrome) seems that WebRTC H264 is not supporting on the latest versions of browser and the latest version of chrome 56...... for windows so i need to convert H264 to VP8/90000. Is it possible to convert on client browser?

@karan-tewari
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants