@cactusoft/cordova-plugin-rtsp-vlc
v1.1.0
Published
Cordova RTSP player
Downloads
4
Readme
PhoneGap/Cordova RTSP player using VLC
Installation
cordova plugin add @cactusoft/cordova-plugin-rtsp-vlc
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