IjzerenHein / theoplayer-android-chromecast-repro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

theoplayer-android-chromecast-repro

Reproduction for Chromecast not working with the Android SDK on JitPack.

To run:

  • Add your license to AndroidManifest.xml
  • Open the project in Android studio
  • Start running!
  • App crashes because getCast() returns null

Reference Apps - THEO Google Cast

The purpose of this app is to demonstrate how to enable and configure Google Cast functionality in THEOplayer and the ability to cast to a neighbouring Cast device.

For quick start, please proceed with the Quick Start guide.

Guides

The guides below will provide a detailed explanation how to configure Google Cast in THEOplayer.

This app is an extension of THEO Basic Playback application. For help with getting started with THEOplayer or Android Studio feel free to check related guides:

Quick Start

  1. Obtain THEOplayer Android SDK with Chromecast feature enabled and unzip it.

    Please visit Get Started with THEOplayer to get required THEOplayer Android SDK.

  2. Copy theoplayer-android-[name]-[version]-minapi16-release.aar file from unzipped SDK into application libs folder and rename it to theoplayer.aar.

    Project is configured to load SDK with such name, for using other name please change implementation ':theoplayer@aar' dependency in app-level build.gradle file accordingly.

    Please check THEOplayer How To's - THEOplayer Android SDK Integration guide for more information about integrating THEOplayer Android SDK.

  3. Open THEO Google Cast application in Android Studio.

    For more information about installing Android Studio please check THEO Knowledge Base - Android Studio Setup guide.

    Android Studio should automatically synchronize and rebuild project. If this won't happen please select File > Sync Project with Gradle Files menu item to do it manually. Please note, that in very rare cases it will be required to synchronize project twice.

  4. Select Run > Run 'app' menu item to run application on a device selected by default.

    To change the device please select Run > Select Device... menu item. For more information about working with Android devices please check THEO Knowledge Base - Virtual and Physical Devices guide.

Streams/Content Rights:

The DRM streams used in this app (if any) are provided by our Partner: EZ DRM and hold all the rights for the content. These streams are DRM protected and cannot be used for any other purposes.

License

This project is licensed under the BSD 3 Clause License - see the LICENSE file for details.

About

License:Other


Languages

Language:Java 100.0%