If you already have an Amazon Fire TV app, the Fling SDK provides both playback control and a synced second screen type of experience where customers use the mobile device as a smart companion accessory. Additionally, a new Remote Install API we announced in November lets customers remotely discover Fire TV apps from mobile devices.
Today we highlight several apps that have chosen to leverage the Amazon Fire TV built-in media playback receiver for Fling. This means your controller app can send supported media content to Fire TV without the need for a specific companion Fire TV application. Your controller application can discover the Fire TV using the publically available unique service identifier (SID) "amzn.thin.pl"
of the built-in receiver and send media content to it.
‘The Fling Media Player on Amazon Fire TV is very stable out of the box and saves a lot of work compared to building a custom media player’ says a developer from Video and TV Cast, an Android mobile app that lets customers’ stream webvideos, online movies, live TV channels and camera roll videos to the Fire TV.
Here are some other great examples of how developers are already leveraging the Amazon Fling built-in media receiver:
The built-in media playback receiver is one of the quickest ways to leverage the power of Amazon Fling and the built in functionality of Amazon Fire TV and Fire TV Stick. Even developers who don’t have an existing Amazon Fire TV app can take advantage of the Fling SDK’s media playback capabilities since the default built-in receiver plays these for you automatically.
With the built-in receiver on the Amazon Fire TV you can:
The setMediaSource API
allows you to control how the playback works on the built-in receiver. The metadataJson
parameter of this API is responsible for setting values for UI elements on the playback interface. You should set it in your controller application in the following format:
Check out Working with the Built-in Receiver on the Fire TV Platform to get your mobile app flinging media content to Amazon Fire TV.
Here are some additional links to help you get started:
- Rafa Maranon (@rafaelmaranon)