0.1.1 • Published 3 years ago

@bachhuberdesign/react-native-vlc v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

0.1.0

3 years ago

0.1.1

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago