Fling: Setting the Bonjour Name of a Custom Player?
I am experimenting with a Fling application using a custom Player, using a controller derived from the 'FlingSample' controller provided in the SDK (iOS), and a custom Player derived from the 'CustomPlayerSample' The controller detects the customer player, however the name of the custom player service shows up blank in the selection interface, below the "xyz's Fire Stick" (which I assume is the name for the default player service) screenshot:
https://s3.amazonaws.com/web.swishly.com/shared/IMG_7036.PNG How does one set the display name for the custom player service? I was unable to find the relevant information from the docs.
Hi Tifr0z, The name of the device is identical to the one you see in the Settings->About page. The (NSString*) name selector returns the default Bonjour name set by the engine underneath Amazon Fling. The application does not need to set the name. It is read from the Fire TV/Stick's settings automatically. Could you please elaborate on your setup a bit? 1. Did you rename the service ID from
amzn.thin.pl to your unique service ID? 2. Which device are you deploying the custom player on?
Thanks for the help! 1. Yes I renamed the service id to the unique SID of the custom player in the custom player's whisperplay.xml and in CustomMediaPlayerService.java, as well as in the controller's RootViewController.m 2. I am using a fireTV stick for testing (purchased Jul 21 2015 so I assume it is the latest generation)
Hi, From your setup, it is clear that the first entry in the list is the correct endpoint for your custom player. The second entry is puzzling - did you by any chance deploy your custom player on an Android phone/tablet?