{"id":25188393,"url":"https://github.com/adrenak/amazonflingunity","last_synced_at":"2026-05-09T10:09:34.761Z","repository":{"id":179981128,"uuid":"664378464","full_name":"adrenak/AmazonFlingUnity","owner":"adrenak","description":"A Unity wrapper over Amazon Fling SDK to cast videos to FireTV and Firestick devices. Currently supports only Android and only second screen applications (phone controller/remote).","archived":false,"fork":false,"pushed_at":"2023-07-09T22:01:30.000Z","size":1809,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T20:36:25.959Z","etag":null,"topics":["android","cast","firestick","firetv","ott","unity","unity3d","video"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrenak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-09T19:48:25.000Z","updated_at":"2024-04-16T14:12:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"13ea2d82-316a-45b3-9998-4f0c820be590","html_url":"https://github.com/adrenak/AmazonFlingUnity","commit_stats":null,"previous_names":["adrenak/amazonflingunity"],"tags_count":2,"template":false,"template_full_name":"adrenak/upm-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2FAmazonFlingUnity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2FAmazonFlingUnity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2FAmazonFlingUnity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrenak%2FAmazonFlingUnity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrenak","download_url":"https://codeload.github.com/adrenak/AmazonFlingUnity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157286,"owners_count":20893221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cast","firestick","firetv","ott","unity","unity3d","video"],"created_at":"2025-02-09T20:28:33.968Z","updated_at":"2026-05-09T10:09:29.724Z","avatar_url":"https://github.com/adrenak.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AmazonFlingUnity\n\nNote that this is only for Android devices (currently).\n\nAmazon Fling Untiy plugin has a `.so` file that is supposed to be for ARM64 devices, but has actually been build for 32 bit architecture. This makes it impossible to release an app on Google Play, as it requires apks to have 64-bit support.\n\nThis wrapper works by directly invoking the Fling jar files and provides C# classes that act as proxy for typesafety and other C# benefits. The jar files in this repo are the ones released in 2020 (Amazon did release iOS and Android SDK updates in 2020 but the Unity plugin hasn't been updated since 2018). \n\nReadme, docs and samples coming soon. Until then, this is a good starting point to start testing:\n\n```\nusing System.Collections.Generic;\nusing UnityEngine;\nusing Adrenak.AmazonFlingUnity;\nusing System.Linq;\n\n// Attach this script to a gameobject in your test scene.\npublic class FlingTest : MonoBehaviour {\n    DiscoveryController controller;\n    List\u003cRemoteMediaPlayer\u003e players = new List\u003cRemoteMediaPlayer\u003e();\n\n    void Start() {\n        controller = new DiscoveryController();\n        controller.Start(new IDiscoveryListener()\n            .OnPlayerDiscovered(discovered =\u003e {\n                // if the players list doesn't contain an element with the same unique ID, add the new player\n                if(players.Where(p =\u003e p.GetUniqueIdentifier().Equals(discovered.GetUniqueIdentifier())).Count() == 0)\n                    players.Add(discovered);\n            })\n            .OnPlayerLost(lost =\u003e {\n                // Update the players list by excluding any elements that have the same unique ID\n                players = players.Where(p =\u003e p.GetUniqueIdentifier().Equals(lost.GetUniqueIdentifier())).ToList();\n            }));\n    }\n\n    // Invoke this using a UI button or something\n    public void Play() {\n        if(players.Count \u003e 0)\n            players[0].SetMediaSource(\"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\", \"Big Buck Bunny\", true, true);\n        else\n            Debug.Log(\"No players available!\");\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrenak%2Famazonflingunity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrenak%2Famazonflingunity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrenak%2Famazonflingunity/lists"}