thibauts / node-castv2

An implementation of the Chromecast CASTV2 protocol
MIT License
774 stars 100 forks source link

Play and pause commands #60

Closed berenteb closed 2 years ago

berenteb commented 3 years ago

I've seen these commands in the code, but sending them is not not successful. receiver.send({ "type": "PLAY", requestId: 1 });

jeffaknine commented 2 years ago

You need to pass the mediaSessionId as well

berenteb commented 2 years ago

Oh boy, will look into it once I dig up the repo!