xat / castnow

commandline chromecast player
MIT License
3.81k stars 243 forks source link

ERR_STREAM_DESTROYED: Cannot call write after a stream was destroyed #231

Open adizhol opened 6 years ago

adizhol commented 6 years ago

Win10 64bit Node 10.11.0

node castnow --my-ip 192.168.1.4 --address 192.168.1.3 --tomp4 "magnet:?magneturi"

Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed at doWrite (_stream_writable.js:406:19) at writeOrBuffer (_stream_writable.js:394:5) at TLSSocket.Writable.write (_stream_writable.js:294:11) at PacketStreamWrapper.send (c:\castnow\node_modules\castv2\lib\packet-stream-wrapper.js:41:15) at Client.send (c:\castnow\node_modules\castv2\lib\client.js:128:11) at Channel.send (c:\castnow\node_modules\castv2\lib\channel.js:34:12) at fn.Controller.send (c:\castnow\node_modules\castv2-client\lib\controllers\controller.js:28:16) at fn.ConnectionController.disconnect (c:\castnow\node_modules\castv2-client\lib\controllers\connection.js:32:8) at Api.Application.close (c:\castnow\node_modules\castv2-client\lib\senders\application.js:37:19) at EventEmitter.shutdown (c:\castnow\node_modules\chromecast-player\index.js:53:17)