Fraz Zaki
Fraz Zaki

Reputation: 309

How to get RTSP stream over web application

Suppose this is my video stream URL:

rtsp://MyUserID:[email protected]:556/cam/realmonitor?channel=1&subtype=0

The video stream works perfectly with VLC player but I want it to play it over my web application. Is there any possibility to play RTSP protocol in any web player?

Upvotes: 2

Views: 17603

Answers (2)

Mike F
Mike F

Reputation: 1234

Unfortunately playing an rtsp via your web browser is not that straight forward anymore.

NPAPI Plugins are no longer supported

This means in the end the VLC plugin for browsers is no longer supported. Firefox 52+ and other browser don't support it anymore. See this announcement, basically stating that:

"installed NPAPI plugins are no longer supported in Firefox, except for Adobe Flash"

This also has been discussed on the videolan Forum, with no current solution.

Use an old Mozilla Firefox ESR browser

Still supports NPAPI plugins. However only until June 2018. Thus not really a future proof solution. Details on Firefox ESR can be found here.

A possible solution

You could use HTML 5 with some other coding technology to transform your RTSP stream into let's say a segmented stream and deliver it via HTML 5 video tag. There is alot of solutions out there; look into posts from stackoverflow such as:

Hope this points you in the right direction.

Upvotes: 1

Faruck
Faruck

Reputation: 11

Off course! You can use VLC player on your web app!!

This link had all the information that you need.

https://wiki.videolan.org/Documentation:WebPlugin/

In my experience this plugin is really fast a reliable

Upvotes: 0

Related Questions