Open ad84 opened 7 years ago
I believe this happens with old nodejs versions. Try updating.
The attempt above is using node js 6.x, however I did wonder if this was the problem so I installed 7 in a virtual box lubuntu (fresh install) and received the same error. I can replicate this again if it helps.
What's your ffmpeg command?
You should install ws@2 to use the relay, as it needs an update for ws 3 compatibility.
It was the ws version, removed version 3 and installed 2 as suggested by @Nibbler999 and it all works well. Thanks for the help!
Ive been trying to replicate the example in the readme; when I open the view-stream.html the websocket-relay ends (after connecting ok to the stream?) with:
ffmpeg also ends with:
Its probably incorrect usage on my part; any help would be greatly appreciated.