streaming into a web pag

Michael Gruner michael.gruner at ridgerun.com
Wed May 1 17:40:08 UTC 2019


No, WebRTC doesn’t stream over http/https ports. WebRTC uses a protocol named ICE <https://en.wikipedia.org/wiki/Interactive_Connectivity_Establishment> to automatically find open ports on both endpoints. It’s supposed to be “guaranteed” that a connection will always be made, unless you explicitly want to block WebRTC. Worst case scenario, the stream gets relayed through a third party server (unlike peer-to-peer that you’d expect). All this happens under the hoods. Take a look at:

https://developer.ridgerun.com/wiki/index.php?title=GstWebRTC_-_WebRTC_Fundamentals

As per the example, I think Kurento had this functionality, and it’s an open source implementation. 

https://www.kurento.org/blog/interoperating-webrtc-and-ip-cameras
https://github.com/kurento

Michael
www.ridgerun.com


> On May 1, 2019, at 11:19 AM, R C <cjvijf at gmail.com> wrote:
> 
> Hello Michael,
> 
> thanks for the quick reply.  I  did read some about WebRTC, from what I understand that also streams over the port httpd is running on?  The 'blocked' problem is not necessarilly a NAT issue, but some sites actively blocking 554, and the RTSP protocol. traffic on 80/443 is typically not, so that would be best.
> 
> Is there a (working) example somewhere on how to set  gstreamer/gstreamer-rtsp-sever up so that it converts a stream from an IP-camera (onvif) to a WebRTC stream that can be embedded?
> (also, there would be multiple cameras/streams, but only one of them has to be 'active' at a time.)
> 
> thanks,
> 
> Ron
> 
> On Wed, May 1, 2019 at 10:47 AM Michael Gruner <michael.gruner at ridgerun.com <mailto:michael.gruner at ridgerun.com>> wrote:
> Hi Ron
> 
> Take a look at WebRTC, it has the features you want: NAT traversal (to avoid the “blocked” problem) and it works on most browsers out of the box.
> 
> https://opensource.com/article/19/1/gstreamer <https://opensource.com/article/19/1/gstreamer>
> 
> Michael
> www.ridgerun.com <http://www.ridgerun.com/>
> 
> > On May 1, 2019, at 10:43 AM, R C <cjvijf at gmail.com <mailto:cjvijf at gmail.com>> wrote:
> > 
> > Hello,
> > 
> > this  probably has been asked a million times before.  
> > 
> > I have a few IP cameras (onvif) that I can get stills and video out of with scriprts.
> > 
> > What I would want to do is  put a stream into a web page, html document. I'd prefer to used "something different" than  rtsp, to be used by the browser because rtsp seems to be blocked more and more (people watching baby monitors crashing networks).
> > 
> > Is there a guide/example that will show me how to set up gstreamer (gstreamer rtsp server) to do that and show it in flash player for example? (or anything else I can embed in a web page?)
> > 
> > thanks,
> > 
> > Ron
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org <mailto:gstreamer-devel at lists.freedesktop.org>
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>_______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190501/3cfe4e97/attachment.html>


More information about the gstreamer-devel mailing list