Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

Force SDP negociation of h264 over vp8 when possible

RLinc
Beginner
804 Views

Hi,

Is it possible to 'prefer' h264 streaming during browser SDP negotiation within the MCU server?

I see that a few browsers accept this format during the SDP negotiation phase, why does the MCU server then opt for VP8 'software' encode when it has all the GPU grunt to output h264 encode?

Why does the MCU server pass up on this great offer to save resources?

Or am I missing something..?

Cheers,

Rich.

0 Kudos
6 Replies
RLinc
Beginner
804 Views

Can anyone point me at the stack layer within the MCU to investigate this further?

Cheers.

0 Kudos
Jianjun_Z_Intel
Employee
804 Views

Hi Rich,

Codec preference is configured at client side. For JavaScript SDK, please take a look at conferenceClient.publish and conferenceClient.subscribe method. If preferred codec is not available in current browser, other codec may be used.

0 Kudos
RLinc
Beginner
804 Views

Thanks Jianjun,

Does this mean that VP8 is mandated by WebRTC? If the MCU server only offered h264 during connection, a standard browser should negotiate h264 as the only option? How do we configure the MCU to essentially know nothing about VP8..

We are looking at a very large deployment using h264 RTSP feeds as input mainly. I'm aware how good h264 performance is using the GPU, It seems a shame use so much software encoding.

Cheers,

Rich.

0 Kudos
Jianjun_Z_Intel
Employee
804 Views

Hi Rich,

VP8 is always enabled at MCU side. However, when H.264 is the preferred codec at client side, and it does support H.264, H.264 will be used.

0 Kudos
RLinc
Beginner
804 Views

Cheers,

I see you have control over selection in conferenceClient.publish, I was under the impression that it was the browser binary itself that dictated the CODEC format.

Rich.

0 Kudos
Dave_T_
Beginner
804 Views

Jianjun,

Is there a mechanism either to disable VP8 on the MCU side or to use the GPU to encode in VP8?  It appears that even where H.264 is supported by the browser, the MCU defaults to offering VP8.

We want to force H.264 to be sent to the browser.

Thanks

Dave

 

0 Kudos
Reply