Max
Max

Reputation: 2343

Best way to put video from RTSP to HTML page?

I have a url to RTSP stream with authentication in H264 - MPEG-4 part 10 codec. Lik looks like this: rtsp://login:[email protected]:557

Is there way to show video in HTML-page?

Is it require to use some decoding server like ffmpeg or vlc? Or we can put it to page directly?

Upvotes: 1

Views: 7382

Answers (1)

d33pika
d33pika

Reputation: 2017

It can be put directly as link. It will use your default player to play it and not on the webpage itself. Example page: http://bcdn1.wpc.cdn.bigcdn.com/001D7A/bcdn2/bbb-rtsp.html

<body>

<div id="rtsp_movie">

    <a href="rtsp://xxxx"><img border="0"
                           alt="EXAMPE RTSP"
                           width="426"
                           height="240"/>click
    to play RTSP</a>

</div>

</body>

Upvotes: 1

Related Questions