Recently all the browser disable the plugin, include chrome and edge, and flash player will be end-of-life at 2020.how to play live video with low latency in browser, today we introduce a method which based on google webrtc native stack .There has a lot of discuss in Google Groups for how to input external rtsp to webrtc c++ native framework, webrtc c++ framework only accept YUV raw data, and input the encoder(OpenH264/iOS Android Hardware), and send to peer, user can't send pre-compressed data to webrtc. see below diagram.
And we develop a plug-in for webrtc native framework(linkingrtc),user can send pre-commpressed H264 to webrtc, the H264 data can from ONVIF camera or from file, as we tested, the latency is about 400ms for Chrome/Edge/Firefox/Safrai. see below diagram.
Current linkingrtc version support h264, and future version will support h265 for webrtc.