Socket
Book a DemoInstallSign in
Socket

amazon-ivs-react-native

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amazon-ivs-react-native

amazon-ivs-react-native

1.0.2-beta
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

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.

Keywords

react-native

FAQs

Package last updated on 25 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.