question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

view RTSP stream in browser

See original GitHub issue

I’m looking for a solution to view RTSP stream via browser. For example I can play it with mpv: mpv --rtsp-transport=tcp 'rtsp://IP:554/user=admin&password=&channel=1&stream=0.sdp'

Is media-stream-library-js suitable for my case? Should I use it with websockify?

I’ve tried examples/browser/test/h264.html with

ws: { uri: `ws://localhost:8854/` },
rtsp: { uri: `rtsp://IP:554/user=admin&password=&channel=1&stream=0.sdp` },

in examples/browser/test/h264-player.js and websockify 8854 IP:554 runned on localhost, but it doesn’t work for me.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
532910commented, Feb 17, 2020

RTSP host is up again and I confirm that replacing CSeq with cseq in media-stream-library.min.js solves this issue!

1reaction
steabertcommented, Feb 14, 2020

I had a quick look at the code (where the error is printed) think it might be that our code is only recognizing CSeq and not cseq. So it might be that we’re not allowing for case insensitive headers, which I think is probably wrong.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I display an RTSP video stream in a web page?
If you want to stream RTSP directly to web page, then I am afraid your only option is to use an ...
Read more >
7 ways to stream RTSP on the page - Flashphoner
7 ways to stream RTSP on the page · Method 1 – RTMP · Method 2 – RTMP wrapped to HTML5 · Method...
Read more >
Stream RTSP | RTSP Player/Viewer - VXG
The best online HTML5/JS RTSP viewer/player for web. Enter RTSP server and RTSP port and stream IP cameras with RTSP player by VXG....
Read more >
[Tutorial] Easiest Way to Play RTSP Streams on HTML5 ...
Step 2. Go to the "Network" tab, type in the RTSP URL to the "Network URL" box (in the form of rtsp://[ ...
Read more >
Transcode & Play RTSP Video Streams in Browser - GitHub
Transcode & Play RTSP Video Streams in Browser · First we need to encapsulate video stream from RTSP into a known streaming format...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found