Code Monkey home page Code Monkey logo

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

Amazon IVS Live to VOD (DVR) iOS demo

This iOS demo application is intended as an educational tool for demonstrating how you can implement a Live to VOD (DVR) experience using Amazon IVS and the auto-record-to-s3 feature using Amazon S3.

At a high level, it allows a viewer to seek back in time during a live stream and view recorded content from that stream. Viewers are also able to jump back to the live stream and resume watching content that is live.

An iPhone with the demo application running on the screen.

Setup

1. Using your own stream (optional)

In order to use your own stream with this demo you will need to deploy a backend solution on your AWS account. To do so, clone amazon-ivs-dvr-web-demo and follow the deployment instructions available in the README.

Note that this solution will:

  • Create an Amazon IVS channel
  • Set up auto-record-to-S3 for that channel
  • Create Lambda and Lambda@Edge resources to process VOD content
  • Create a CloudFront distribution to serve the VOD content

Once deployment is done the CDK will output distributionDomainName that you'll need on the following step to run the demo

2. Run demo

  • Clone this repository to your local machine.
  • Ensure you are using a supported version of Ruby, as the version included with macOS is deprecated. This repository is tested with the version in .ruby-version, which can be used automatically with rbenv.
  • 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.
  • Open Live-to-VOD.xcworkspace.
  • To use the backend created in Step 1, open Live to VOD UIKit/Constants.swift and edit Line 9 with the distributionDomainName value from Step 1.
  • You can now build and run the projects in the simulator.

About Amazon IVS

Amazon Interactive Video Service (Amazon IVS) is a managed live streaming solution that is quick and easy to set up, and ideal for creating interactive video experiences. Learn more.

Security

See CONTRIBUTING for more information.

License

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

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

Contributors

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

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

amazon-ivs-dvr-ios-demo's Issues

Seekbar not Updating..!!

Seekbar is not properly updated in the player, with its dvr url.
Can you please help me with this. Thanks in advance.

Seekbar Issue

Hi @slawrence In the sample url, we are not facing any issues. But, while we test with our ivs url, while we seek the seek bar to left end, some times it comes to the right end. It occurs randomly. Could you please suggest how we can over come this issue.

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.