@bachhuberdesign/react-native-vlc
v0.1.1
Published
VLC wrapper for React Native applications
Downloads
1
Maintainers
Readme
React Native VLC
VLC wrapper for React Native applications. Inspired by https://github.com/razorRun/react-native-vlc-media-player, https://github.com/lunarr-app/vlc-player, and https://github.com/xuyuanzhou/react-native-yz-vlcplayer.
Installation
# yarn
yarn add @bachhuberdesign/react-native-vlc
# or npm
npm i @bachhuberdesign/react-native-vlc
No manual linking is necessary on React Native 0.60+.
Usage
import { VLC } from '@bachhuberdesign/react-native-vlc';
<VLC
style={styles.preview}
source={{
uri: 'https://www.rmp-streaming.com/media/big-buck-bunny-360p.mp4',
}}
paused={false}
loop
options={[
// Full list of libVLC options can be found at https://wiki.videolan.org/VLC_command-line_help/
'--no-stats',
'--network-caching=0',
'--live-caching=0',
'--rtsp-frame-buffer-size=0',
'--sout-udp-caching=0',
'--file-caching=0',
'--sout-mux-caching=0',
]}
/>;
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT