About codecs supported for video display in XProtect WebRTC JavaScript

It has been confirmed that using the WebRTC JavaScript client allows playback of live and recorded video streams from IP cameras.

However, when the video stream codec is H.264 Baseline Profile, the video is displayed correctly, whereas with H.264 High Profile, the video stops shortly after playback starts, and the video updates only once every few minutes.

Could this issue be caused by the WebRTC browser-side decoder not supporting High Profile?

Please explain the cause of this issue and provide possible solutions.

Hi,

It is entirely possible that this is at least partially caused by the browser. To that end, would it be possible for you to share the details of what browser you are using, as well as the OfferSDP and AnswerSDP that you are getting from signaling? This might help us to troubleshoot the issue.

Best regards,

Simon

Sorry for the late reply.

It was found that video cannot be displayed with the H.264 codec High Profile, but can be displayed with the Base Profile.

This is likely due to the support status of the WebRTC decoder running in the browser.

​Please let me know your opinion.

Best regards.​

Hi, as I stated above, to give an opinion on this I would need to know more. We have succesfully sent video using High Profile, so in order to troubleshoot your specific issue I would need to know more, such as what browser you are using, and if possible what your SDP candidates look like (you can get these by debugging using our WebRTC Javascript sample, for instance). It might also be useful to see what your WebRTC Internals contains, which if you are using Chrome can be found in chrome://webrtc-internals/ while connected to the browser (other browsers have other ways of viewing this information, I suggest looking up the details for your specific browser).

Best regards,

Simon