jsmpeg
jsmpeg copied to clipboard
I get "broken pipe" when I connect with websocket
I run: node websocket-relay.js supersecret 8081 8082
, http-server
, and stream from web cam: sudo ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0 -f mpegts -codec:v mpeg1video -s 640x480 -b:v 1000k -bf 0 http://localhost:8081/supersecret
I see in console that stream works, but when I go to view-stream.html page, my stream stops and I get an error:
av_interleaved_write_frame(): Broken pipe
Error writing trailer of http://localhost:8081/supersecret: Broken pipe
I have the same Issue. Have you found any solutions until now?
I have problem with Node.js or WS version.
having the same problem. did u find a solution?
As I mentioned above, probably the problem was with WebSocket version.
Anyone find a solution to this issue? I'm experiencing the same problem running WebSocket 3.10.10 (npn ws --version).
Can anyone, please update me on this issue? How to fix this? I have changed the ports as well but didn't work.
Is there any one solve this issue