jsmpeg icon indicating copy to clipboard operation
jsmpeg copied to clipboard

I get "broken pipe" when I connect with websocket

Open trojek opened this issue 7 years ago • 7 comments

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

trojek avatar May 25 '17 20:05 trojek

I have the same Issue. Have you found any solutions until now?

Preprocezzor avatar Jun 15 '17 14:06 Preprocezzor

I have problem with Node.js or WS version.

trojek avatar Jun 15 '17 14:06 trojek

having the same problem. did u find a solution?

AmirSasson avatar Mar 28 '18 22:03 AmirSasson

As I mentioned above, probably the problem was with WebSocket version.

trojek avatar Mar 29 '18 10:03 trojek

Anyone find a solution to this issue? I'm experiencing the same problem running WebSocket 3.10.10 (npn ws --version).

jordanOWA avatar Jul 03 '20 21:07 jordanOWA

Can anyone, please update me on this issue? How to fix this? I have changed the ports as well but didn't work.

jazib93 avatar Mar 30 '22 19:03 jazib93

Is there any one solve this issue

hactors avatar Mar 11 '23 01:03 hactors