thibauts / node-castv2-client

A Chromecast client based on the new (CASTV2) protocol
MIT License
646 stars 92 forks source link

the DefaultMediaReceiver is always not found. #102

Open lc2001 opened 4 months ago

lc2001 commented 4 months ago

When I use this node module, the DefaultMediaReceiver is always not found. The main error message is as follows: Error: Launch failed. Reason: NOT_FOUND at c:\Users\cc\Desktop\GoogleTV\chromecasts-master\node_modules\castv2-client\lib\controllers\receiver.js:51:23 at fn.onmessage (c:\Users\cc\Desktop\GoogleTV\chromecasts-master\node_modules\castv2-client\lib\controllers\request-response.js:27:7) at fn.emit (node:events:529:35) at Channel.onmessage (c:\Users\cc\Desktop\GoogleTV\chromecasts-master\node_modules\castv2-client\lib\controllers\controller.js:16:10) at Channel.emit (node:events:517:28) at Client.onmessage (c:\Users\cc\Desktop\GoogleTV\chromecasts-master\node_modules\castv2\lib\channel.js:23:10) at Client.emit (node:events:529:35) at PacketStreamWrapper.onpacket (c:\Users\cc\Desktop\GoogleTV\chromecasts-master\node_modules\castv2\lib\client.js:81:10) at PacketStreamWrapper.emit (node:events:517:28) at TLSSocket. (c:\Users\cc\Desktop\GoogleTV\chromecasts-master\node_modules\castv2\lib\packet-stream-wrapper.js:28:16)

In addition, I ran it successfully only once, but when I used the remote control to exit DefaultMediaReceiver and ran the code again, the following two situations occurred: 1.DefaultMediaReceiver no longer starts, but runs directly in the background;

  1. Same problem as above: DefaultMediaReceiver NOT_FOUND

I would like to ask everyone for advice~Thank you very much.