项目
在 GitHub 查看
aws/amazon-ivs-react-native-player
关于
A React Native wrapper for the Amazon IVS iOS and Android player SDKs.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Amazon IVS React Native Player
This package implements native binding for Amazon IVS Player for iOS and Android Mobile Only.
| Android Mobile | iOS | Android TV | tvOS |
|---|---|---|---|
| SDK >= 24 | >= 15.1 | X | X |
Installation
- install
amazon-ivs-react-native-playerdependency using yarn or npm
npm install amazon-ivs-react-native-player
- install pods for your ios project. Go to
iosdirectory and run
pod install
Usage
import IVSPlayer from 'amazon-ivs-react-native-player';
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.
探索相关项目
加载中…