AnsweredAssumed Answered

Streaming video over TCP using gstreamer

Question asked by Prash S on Apr 18, 2016
Latest reply on Jun 1, 2016 by Yuri Muhin


Hi,

 

I am trying to stream video from mipi camera (mounted on VAR-DT6 Custom board) to a web browser.

I am using the following gstreamer command to stream video over the network.

 

gst-launch-1.0 -e videotestsrc ! x264enc ! queue ! mpegtsmux ! tcpserversink host=192.168.15.217 port=5000

 

This works fine with the VLC player. But when I try to view it  on any of the supported browsers, there is no video output.

The HTML source code used is

 

<!DOCTYPE html>

<html>

        <title>Camera 1</title>

        <body>

                <video autoplay controls width=320 height=240>

                        <source src="http://192.168.15.217:5000" type="video/mp4" />

                         <source src="http://192.168.15.217:5001" type="video/ogg" codecs="theora"/>

                        You browser doesn't support element <code>video</code>.

                </video>

        </body>

</html>

 

Any clue on what could be wrong with this setup?

 

Thanks !

Outcomes