Giter Club home page Giter Club logo

aws-samples / amazon-ivs-optimizations-ios-demo Goto Github PK

View Code? Open in Web Editor NEW
2.0 13.0 2.0 1.08 MB

This standalone demo aims to showcase best practices and optimizations to achieve reduced TTV (Time to Video) and improved latency with Amazon IVS. This demo is built on Amazon IVS and uses the Amazon IVS Player SDK.

License: MIT No Attribution

Ruby 0.66% Swift 99.34%
ios ios-swift aws video livestream video-playback ios-app ttv live-video latency

amazon-ivs-optimizations-ios-demo's Introduction

Amazon IVS Optimizations iOS 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. Install the SDK dependency using CocoaPods. This can be done by running the following commands from the repository folder:
    • pod install
    • For more information about these commands, see Bundler and CocoaPods.
  3. Open amazon-ivs-optimizations-ios-demo.xcworkspace.
  4. You can now build and run the projects in the simulator.

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.
  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 in the iOS Simulator, 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.

amazon-ivs-optimizations-ios-demo's People

Contributors

amazon-auto avatar coelhor avatar dependabot[bot] avatar slee-aws avatar uldiszz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uldiszz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.