Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reversed heartbeat #47

Open
oliverpool opened this issue Nov 29, 2017 · 0 comments
Open

Reversed heartbeat #47

oliverpool opened this issue Nov 29, 2017 · 0 comments

Comments

@oliverpool
Copy link

Hi,

thank you so much for the readme: it contains invaluable information!

Regarding the heartbeat, it seems sufficient to just reply to the PINGs sent from (and to) Tr@n$p0rt-0 with a PONG with the same transport (example in my repo: https://github.com/oliverpool/go-chromecast/blob/master/command/heartbeat/heartbeat.go#L14)

This way you don't have to guess the right interval to send your ping: just wait for a ping and reply to it :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant