webRTC android app codec adjustment

43 views
Skip to first unread message

Anmol Sharma

unread,
Jul 26, 2016, 1:46:54 AM7/26/16
to discuss-webrtc
I am using libjingle8771.aar.for my Android webrtc application.
Default codec used in this library is VP8 and I want to use h.264.
 How to do this? pcParams has the info about preferred codec but how to use it?
What is the KeyValuePair to be used to do so ?
new VideoConstraints.mandatory.add(new MediaConstraints.KeyValuePair("?", "?"))

Christoffer Jansson

unread,
Jul 26, 2016, 4:46:36 AM7/26/16
to discuss-webrtc
Hi,

Set it in the SDP, follow the example in AppRTCDemo here.

/Chris

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/ad4ecc80-a774-4fd4-8989-7586204f6a5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
/Chris
Reply all
Reply to author
Forward
0 new messages