In "Let WEBRTC support H264 codec" I provide a priority to use the H264 codec thinking. We can verify it on the browser side.
There are three ways to verify: In JS print SDP view Chrome's log chrome_debug.log (see Open Chrome Log) Grab bag using webrtc-internals
The first three kinds are no longer introduced, we look at the webrtc-internals.
The WEBRTC status information in the current browser can be seen in the browser address bar output chrome://webrtc-internals. Similar to the following:
Find Ssrc_xxx_recv (SSRC) and click on it to see information similar to the following:
The Blue line shows the decoder and video format used by the browser.
For a more detailed introduction to Webrtc-internals, refer here: http://testrtc.com/webrtc-internals-parameters/.
Related reading: WebRTC learning material Daquan Ubuntu 14.04 under the compilation WebRTC WebRTC source Turnserver use method open WebRTC log (native API) let WebRTC support H264 codec The GN and Ninja WebRTC compiler system of the WebRTC compiler system, and how to enable trace_event in WebRTC codes let WebRTC open the Chrome log with an external audio and video codec