Skip to content

A React Native wrapper for the Amazon IVS iOS and Android player SDKs.

License

Notifications You must be signed in to change notification settings

Carel155/amazon-ivs-react-native

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amazon-ivs-react-native

This package implements native binding for Amazon IVS Player for iOS and Android.

This package is currently in developer preview and is not recommended for production use.

Installation

  • install amazon-ivs-react-native dependency using yarn or npm
npm install amazon-ivs-react-native
  • install pods for your ios project. Go to ios directory and run
pod install

Usage

import IVSPlayer from 'amazon-ivs-react-native';

const URL =
  'https://fcc3ddae59ed.us-west-2.playback.live-video.net/api/video/v1/us-west-2.893648527354.channel.DmumNckWFTqz.m3u8';

function App() {
  return <IVSPlayer streamUrl={URL} />;
}

A more detailed guide about usage can be found here

IVSPlayer component

IVSPlayer is a component that can render a video stream based on the passed URL.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

Troubleshooting

To hide Home Indicator on iOS when video is in full screen, use this library: https://github.com/flowkey/react-native-home-indicator

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

About

A React Native wrapper for the Amazon IVS iOS and Android player SDKs.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 43.2%
  • JavaScript 15.3%
  • Kotlin 14.1%
  • Swift 12.6%
  • Java 6.5%
  • Objective-C 4.0%
  • Other 4.3%