Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 2.07 KB

File metadata and controls

33 lines (22 loc) · 2.07 KB

Amazon IVS Optimizations Android Demo

This standalone demo aims to showcase best practices and optimizations to achieve reduced TTV (Time to Video) and improved latency with Amazon IVS.

The demo app displays a list of optimization options, each opening a simple player view, with pills offering information and feedback.

An Android phone with a the demo application running on the screen.

Setup

  1. Clone the repository to your local machine.
  2. Open the cloned repository in Android Studio, or an IDE of your choice.
  3. Run the application on an emulated device or a physical device running API level 29 or later.

Using Your Amazon IVS Stream

IMPORTANT NOTE: Using your own stream will create and consume AWS resources, which will cost money.

By default, the app loads a demo live stream. By tapping on the cog icon in the app, you can open the settings view and modify the live stream that the app loads.

  1. If you do not have an Amazon IVS Channel, create and set up an Amazon IVS channel. A guide is available here: Getting started with Amazon IVS.
  2. Open the Amazon IVS Console and navigate to the channel you would like to use.
  3. Copy the channel's Playback URL from the Amazon IVS Console
  4. Run the application on an emulated device or a physical device running API level 29 or later.
  5. Tap the cog icon in the top-right corner to open the app settings.
  6. Tap the toggle next to Use custom live stream to enable it.
  7. Paste the playback URL in the text field in the app. If you are running the app on an emulated device, click and hold on the field until the paste button appears.
  8. Tap the arrow in the top-left corner to return to the home screen and select one of the demos to load.

Note that you must be streaming content to your channel in order for video to appear in the app.

License

This project is licensed under the MIT-0 License. See the LICENSE file.