January 27th, 2016
CastSniffer is a chromecast sniffer. It connects to your chromecast and listens for broadcast messages. It’s capable of feeding back information on any broadcast messages the device sends. So when apps are launched it can give you detailed information about the apps. When it sees an app launched it connects and also echos any messages it broadcasts.
CastSniffer contains a simple method of sending chromecast receivers messages. Entering urn: followed by the namespace will set the namespace and typing a command followed by enter will send the command.
CastSniffer doesn’t require a development account, you can examine the behaviour of other apps or use it to debug your own.
CastSniffer is written in java so it should run on Windows, Mac, or Linux computers. First things first though, it runs in Java 1.8 – so if you don’t have it already or you’re not sure then:
Great. Got that. Then save Cast Sniffer to your hard disk.
To run CastSniffer you need to run it from the command line. The command is:
java -jar CastSniffer.jar [“Chromecast Name”]
e.g. if your Chromecast is called: My TV then the command would be:
java -jar CastSniffer.jar “My TV”
CastSniffer must be started after your chromecast has been booted.