using gstreamer to for an IP camera in html

classic Classic list List threaded Threaded
2 messages Options
R C
Reply | Threaded
Open this post in threaded view
|

using gstreamer to for an IP camera in html

R C

Hello all,


I managed to use VLC to connect to an IP camera and stream to a http/html page;

In VLC:

- media

- open network stream

-  stream: <a class="moz-txt-link-freetext" href="rtsp://192.168.1.64:554/user=admin&amp;password=xxxxxxxx&amp;channel=1_stream=1.sdp?realstream">rtsp://192.168.1.64:554/user=admin&password=xxxxxxxx&channel=1_stream=1.sdp?realstream

- destination 192.168.1.110:8080

- transcoding: Video: H.264 + MP3 (MP4)


then on the linux box I have an html video 'tag' like:

  <video id="video" src="http://192.168.1.110:8080" autoplay="autoplay" width="640" height="480"></video>

(although it doesn't really stream, it is stuck in a frame.).


Is there a way to accomplish the same thing using gstreamer (and also actually have a stream that's not stuck).


thanks,


Ron


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: using gstreamer to for an IP camera in html

Nicolas Dufresne-5


Le mer. 1 mai 2019 22 h 55, R C <[hidden email]> a écrit :

Hello all,


I managed to use VLC to connect to an IP camera and stream to a http/html page;

In VLC:

- media

- open network stream

-  stream: rtsp://192.168.1.64:554/user=admin&password=xxxxxxxx&channel=1_stream=1.sdp?realstream

- destination 192.168.1.110:8080

- transcoding: Video: H.264 + MP3 (MP4)


then on the linux box I have an html video 'tag' like:

  <video id="video" src="http://192.168.1.110:8080" autoplay="autoplay" width="640" height="480"></video>

(although it doesn't really stream, it is stuck in a frame.).


Is there a way to accomplish the same thing using gstreamer (and also actually have a stream that's not stuck).


I would opt for implementing a webrtc bridge. Search for tutorials about webrtcbin. You'll can probably reused that RTP layer, and pass that to webrtcbin.


thanks,


Ron

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel