Questions tagged [jsmpeg]

24 questions
2
votes
2 answers

NextJS not working with jsmpeg/node-rtsp-stream. Trying to display RTSP stream

Following: https://github.com/kyriesent/node-rtsp-stream and How to display IP camera feed from an RTSP url onto reactjs app page? I was trying to display the RTSP stream from a CCTV but it gives me an error. ReferenceError: document is not defined…
Vlad Crehul
  • 31
  • 1
  • 6
2
votes
2 answers

Play multiple streaming using JSMpeg

I'm developing web application using nodejs and angularjs. I need to display multiple rtsp streaming in single page. For which i use node-rtsp-stream using JSmpeg library. My client side code look like this:
2
votes
0 answers

JSMpeg not able to get stream from RTSP

i'm trying to get a RTSP stream inside a webpage, but with no success actually. For this I followed exactly the tutorial of JSMpeg : https://github.com/phoboslab/jsmpeg With a custom FFMPEG command : ffmpeg -i "rtsp://myurl/media.smp" \ -vcodec…
Q.Rey
  • 305
  • 4
  • 18
1
vote
1 answer

JSmpeg is not playing audio from websocket stream

I am trying to stream RTSP to web browser using ffmpeg through web socket relay written in node js taken from https://github.com/phoboslab/jsmpeg , and on the browser i am using JSMpeg to display the RTSP stream, the video is playing fine, but audio…
Nik
  • 11
  • 2
1
vote
0 answers

how can i control Nodejs server app by internet

I have deploy a node js app on a windows server that decode my ip cam by ffmpeg and jsmpeg that working very well . On client side i can call the live cam rtsp stream by websocket on my phone . What i want to do is to control app.js from my phone to…
1
vote
0 answers

How to have multiple websocket RTSP streams?

After spending some time reading various open-source projects on how to develop RTSP and WebSocket streams, I've almost built a simple project that allows me to display multiple streams on the page. I have a working example of just one stream…
kinx
  • 463
  • 5
  • 12
  • 31
1
vote
1 answer

Render multiple video streams in one WebGL canvas

I'd like to ask those who have used JSMPEG, how do you modify it to use only one WebGL canvas for multiple video streams? I'm doing something like this: const player1 = new JSMpeg.Player(url, {canvas: canvas, disableGl: false, autoplay: true,…
quarks
  • 33,478
  • 73
  • 290
  • 513
1
vote
1 answer

Can not use the jsmpeg in react "Unexpected use of 'self'"

code that i want to convert in React