0.0.1 • Published 2 years ago

capacitor-rtsp-rtmp-stream v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

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>
ParamType
optionsRTMPOptions

rtsp(...)

rtsp(options: RTSPOptions) => Promise<void>
ParamType
optionsRTSPOptions

Interfaces

RTMPOptions

PropType
hoststring
usernamestring
passwordstring

RTSPOptions

PropType
hoststring
usernamestring
passwordstring

Future Features

  • iOS support
  • 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