
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
cordova-rtsp-rtmp-stream
Advanced tools
Cross-platform plugin for Cordova / PhoneGap to to easily stream RTSP or RTMP. Available for Android ONLY.
This cordova plugin is use to stream a live video to RTMP or RTSP server. Library based on rtmp-rtsp-stream-client-java
Latest stable version from npm:
$ cordova plugin add cordova-rtsp-rtmp-stream
Bleeding edge version from Github:
$ cordova plugin add https://github.com/disono/cordova-rtmp-rtsp-stream
// without comment
videoStreamer.streamRTSPAuth('rtsp://your-ip/live/app_name', 'your-username', 'your-password', [success], [failed]);
videoStreamer.streamStop([success], [failed]);
// show comment
videoStreamer.streamRTSPAuth('rtsp://your-ip/live/app_name', 'your-username', 'your-password', function (res)
// show all the comment form and list if connection and authentication is successful
if (res.event_name == 'onConnectionSuccess') {
videoStreamer.commentListShow(true, function (resCom) {
}, function (e) {
});
}
}, function (e) {
});
videoStreamer.streamRTSP('uri', [success], [failed]);
videoStreamer.streamRTMP('uri', [success], [failed]);
videoStreamer.streamRTMPAuth('uri', 'your-username', 'your-password', [success], [failed]);
videoStreamer.streamRTSPAuth('uri', 'your-username', 'your-password', [success], [failed]);
// manually stop streaming
videoStreamer.streamStop([success], [failed]);
// comment list (Optional)
videoStreamer.commentListShow(boolean, [success], [failed]);
videoStreamer.commentList([{avatar: 'URI', username: 'Username', content: 'Message/Comment/Content Text'}], [success], [failed]);
// record locally (MP4)
videoStreamer.videoRecord([success], [failed]);
onConnectionSuccess: data
onConnectionFailed: void
onDisconnect: void
onAuthError: void
onAuthSuccess: data
onStartStream: data
onStopStream: data
onError: data
onCommentSend: data
onCommentItemSelected: data
iOS support using HaishinKit.swift (Separate Plugin - RTMP Only) https://github.com/disono/cordova-rtmp-ios
Support for comment form and comment list (Android)
Comment form
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java
Library for stream in RTMP and RTSP. All code in Java.
Cordova RTMP and RTSP Streamer is licensed under the Apache License (ASL) license. For more information, see the LICENSE file in this repository.
Do you like my work? I am a Senior Full Stack App Developer (Web, Desktop & Mobile App) & Syadmin, you can hire me, open a issue or contact me!
Additionally you could be interested in check or hire us through our Webmons Development Studio.
Do you still need more info about me or my work?
You could check my Linkedin profile and Twitter profile
FAQs
Cross-platform plugin for Cordova / PhoneGap to to easily stream RTSP or RTMP. Available for Android ONLY.
We found that cordova-rtsp-rtmp-stream demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.