Skip to content

How to use node-castv2 to control url-cast-receiver #44

@DaafSamson

Description

@DaafSamson

I'm trying to use this lib to control the url-cast-receiver (https://github.com/DeMille/url-cast-receiver).

I manage to connect to my chromecast and start the app, but I can't seem to understand how send a correct message to it to control the URL source. It's docummented in the url-cast-receiver docs

URLs are sent to the receiver by sending messages on the urn:x-cast:com.url.cast namespace.

var msg = { "type": "iframe", "url": "http://example.com" }

But for the life of me I can't seem to get this to work.. Probably because I just don't understand what I'm doing ;)

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions