view RTSP stream in browser
See original GitHub issueI’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:
- Created 4 years ago
- Comments:15 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
RTSP host is up again and I confirm that replacing
CSeq
withcseq
in media-stream-library.min.js solves this issue!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 notcseq
. So it might be that we’re not allowing for case insensitive headers, which I think is probably wrong.