/cordova-plugin-rtsp-vlc-unmanned

PhoneGap/Cordova VLC RTSP Player Plugin

Primary LanguageJavaMIT LicenseMIT

npm version

PhoneGap/Cordova RTSP player using VLC

Installation

cordova plugin add cordova-plugin-rtsp-vlc-unmanned

Supported Platforms

  • Android
  • iOS

Usage

window.VideoPlayerVLC.play(
	 url,
	 (done: boolean) => { },
	 (error: string) => { }
);
window.VideoPlayerVLC.stop(
	 (done: boolean) => { },
	 (error: string) => { }
);

Example:

window.VideoPlayerVLC.play(
	 "rtsp://192.168.42.1/live.mov",
	 done => {},
	 error => {}
);

References:

https://github.com/disono/libVLC-Player by @disono

https://github.com/pengyanb/com.pengyanb.vlcstreamplayer by @pengyanb