cordova plugin add cordova-plugin-rtsp-vlc
- Android
- iOS
window.VideoPlayerVLC.play(
url,
done => {},
error => {}
);
done: string - "onDestroyVlc"
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