flpwgr / rtsplayer

a very, very, very, very simple cordova rtsp player using FFMpeg and ImageView (iOS), and the native capabilities from Android(MediaPlayer)
20 stars 19 forks source link
android cordova ffmpeg imageview ios plugin rtsp rtsp-player video

ATENTION

I not maintining this anymore! I do not work with iOS/Android development anymore. Use at your own risk! Feel free to fork and update :)

rtsplayer

a very, very, very, very simple rtsp player using FFMpeg and ImageView.

Install

cordova plugin add https://github.com/felipew/rtsplayer.git

Execute the compile.sh inside the Plugins folder

Now you are ready to go

Using

cordova.plugins.rtsplayer.watchVideo("rtsp://10.0.0.100:554/video", callbackSucces, callbackError);
cordova.plugins.rtsplayer.watch("rtsp://10.0.0.100/video", "user", "password" callbackSucces, callbackError);

Contribute

About

This plugin was origanly created to be used with h.264 rtsp streams.

More info about ffmpeg/ios etc etc: ffmpeg ios