The ocast-dongle-controller is a helper tool to check and test communication and cast with devices compatible with OCast SDK.
It can be used to:
- perform devices search and application launch using DIAL protocol
- send commands to devices
This tool can also be used to test receiver web applications running on desktop device and reachable through Dongle TV simulator.
All code in this repository is covered by the Apache-2.0 license. See LICENSE file for copyright details.
npm install -g
ocastc --help ocastc version
constant.js to setup your configuration such as the dongle (or simulator) IP address.
The dongle IP address can also be setup in your environment variables:
Commands and examples (see index.js)
ocastc launchApp <appId>
ocastc stopApp <appId>
Search Dial TV Receivers
Load a video and autoplay
ocastc load http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 video
ocastc load mp4 ocastc test smooth ocastc pause ocastc volume 0.4 ocastc listen ocastc close