capacitorv6-rtsp-rtmp-stream
v0.0.1
Published
Cross-platform plugin for Capacitor to to easily stream RTSP or RTMP.
Downloads
5
Maintainers
Readme
capacitor-rtsp-rtmp-stream
Cross-platform plugin for Capacitor to easily stream RTSP or RTMP.
Install
Install the package from the repository(by now):
npm install capacitor-rtsp-rtmp-stream
npx cap sync
ionic capacitor copy android && ionic capacitor sync android
On iOS, not supported.
On Android:
- Add the jitpack maven repository to your projects build's gradle script:
maven {
url 'https://jitpack.io'
}
API
rtmp(...)
rtmp(options: RTMPOptions) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------- |
| options
| RTMPOptions |
rtsp(...)
rtsp(options: RTSPOptions) => Promise<void>
| Param | Type |
| ------------- | --------------------------------------------------- |
| options
| RTSPOptions |
Interfaces
RTMPOptions
| Prop | Type |
| -------------- | ------------------- |
| host
| string |
| username
| string |
| password
| string |
RTSPOptions
| Prop | Type |
| -------------- | ------------------- |
| host
| string |
| username
| string |
| password
| string |
Future Features
- [ ] iOS support
- [x] Android support
Credits
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java
Library for stream in RTMP and RTSP. All code in Java.
Hire Us!
Do you like my work? I am a Senior Full Stack App Developer (Web, Desktop & Mobile App) & Sysadmin, you can hire me, open an issue or contact me!
Additionally, you could be interested in check or hire us through our Webmons Apps
Do you still need more info about me or my work?
You could check my Linkedin profile and Twitter profile