apivideo / browserLiveStream

Use webcam, browser and Node to stream live video. From api.video (https://api.video)
http://livestream.a.video/
MIT License
193 stars 48 forks source link

[Bug]: Not running after upgrade socket.io server to 4.7.2 #28

Open eddyh99 opened 8 months ago

eddyh99 commented 8 months ago

Version

latest

Environment that reproduces the issue

Browser : Chrome 117.0.5938.89 OS : Windows 10

Is it reproducible in the example application?

No

Reproduction steps

  1. Perform upgrading socket.io library in node_module to 4.7.2
  2. add CORS

var io = require('socket.io')(server,{ cors: { origin: "*", methods: ["GET", "POST"] } });

Expected result

Streaming to rtmp successfully

Actual result

  1. Server restarted after couple of minutes
  2. No Stream output to Youtube/Facebook RTMP

Additional context

No response

Relevant logs output

showing this error after couple minutes start a streaming https://prnt.sc/eagHJPX8RJhz