How to send commands to custom receivers? #183
-
Hello! I just found your project and it looks exactly tle library I needed for a project I'm developing! :) I'm trying to cast a custom receiver to my Chromecast, and then send a JSON message to it. As you can see, it just connects and sends a JSON message like this:
Trying to find a way to achieve this, I found that this library had a method called LoadUrl() used to load a webpage in the receiver, but I was unable to find that method today. I also tried creating a custom Channel and Message, but I had no luck. Chromecast launches app correctly, but it seems that message is not being received: Method used to launch the receiver:
My custom channel:
My custom message:
Is it possible to do what I'm trying to do? If so, If you could give me any advice on how to achieve it, it would be awesome! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, problem solved! Solved adding [DataMember(Name = "url")] and [DataMember(Name = "refresh")] to my Message class properties! |
Beta Was this translation helpful? Give feedback.
Hi, problem solved!
Solved adding [DataMember(Name = "url")] and [DataMember(Name = "refresh")] to my Message class properties!