Bosch Building Technologies

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    How to get Web Real-Time Communications (WebRTC) running?

    WebRTC troubleshooting

     

    Web Real-Time Communications (WebRTC) is a technology consisting of several interrelated APIs and protocols, which enables Web applications and sites to capture and stream audio and/or video, as well as to exchange arbitrary data between browsers peer-to-peer, without requiring an intermediary. It is a pretty modern protocol, supported only by modern browsers.

    WebRTC provides exceptionally low latency (500 milliseconds and below) which is essential for video conferencing and real-time device control. The reduction in latency is (partly) due to the use of UDP instead of TCP, and because the formats being used do not require any transcoding before transmitting.

    The HTML5 Video Control in Cloud VMS' Operator Interface (Investigation mode / Live View) supports WebRTC for live video streaming, it can be selected as the preferred video format in settings:

    Central_Support_0-1654094277957.png

     

    WebRTC is very demanding when it comes to network configuration and there could be a number of reasons why it doesn’t work in some situations:

    1. The video source doesn’t support WebRTC

    2. The client’s network configuration blocks WebRTC

    3. The client’s browser doesn’t support WebRTC

    When the VXG Web Player cannot connect using WebRTC it will automatically switch to HLS which far more reliable format.

     

    Step-by-step guide

     

    If WebRTC doesn’t work for you, follow these steps to locate the reason:

    • First of all, you should check if your browser supports WebRTC.

    • The most common reason why WebRTC doesn’t work is that the network blocks it. Use this simple WebRTC testing tool to see if TCP/UDP is enabled in your network (you don’t need to allow your camera or mic on this page to test the network).

    • If you’re using the corporate VPN - this most likely is the reason of the issue because usually UDP is restricted in such networks. Please try the direct Internet connection without a VPN.

    • Check if UDP port 53 is opened in the camera’s network.

    • Browsers don’t support WebRTC video with a high compression profile, so you need to check that the IP camera is using either Baseline or Main compression profile. For example, on Axis camera go to Settings > Stream > H.264 encoding > Compression profile:

    Central_Support_1-1654094322595.png

     

    Version history
    Revision #:
    2 of 2
    Last update:
    ‎06-01-2022 04:40 PM
    Updated by:
     
    Contributors
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist