disono / cordova-rtmp-rtsp-stream Goto Github PK
View Code? Open in Web Editor NEWCordova RTMP and RTSP Live Streaming Plugin
License: Apache License 2.0
Cordova RTMP and RTSP Live Streaming Plugin
License: Apache License 2.0
Thanks for your work.
Any chance to get the plugin working on iOS?
I don't seem to be able to get it up and running with the latest Ionic release (templates based on Vue). Any ideas?
I was wondering if it is possible to stream the screen of your Android to RTMP using this plugin. I see your example on how to stream a camera feed, but I'm wondering if a screen capture is also possible.
Hi,
I am new to ionic cordova and started with a simple android app that, with the help of the cordova camera and rtsp/rtmp plugin, pushes a stream to my server. My problem is the camera is locked to portrait mode, even when i change camera positions it may look like its landscape but when viewing recording or stream, its in portrait.
Unfortunately I am not sure which files I need to add or edit in order to get the camera to be set to landscape.
Hi, can you give me some help/example how to publish the camera on IONIC?
Hi,
I'm trying to use the plugin within an Ionic app like so:
declare let videoStreamer;
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-home',
templateUrl: 'home.page.html',
styleUrls: ['home.page.scss'],
})
export class HomePage implements OnInit {
ngOnInit() {
videoStreamer.streamRTMP('rtmp://192.168.1.64/live/HygATHcYV', (res) => {
console.log(res);
}, (err) => {
console.log(err);
});
}
}
I then have a RTMP server set up using https://github.com/sallar/mac-local-rtmp-server. Finally, I am loading the RTMP stream using VLC player.
The server receives the stream OK and VLC can open it, but it only shows a still image and doesn't update.
I have tried another app from the play store (Larix Broadcaster) and this streams & updates as expected, so that would suggest that the server & VLC are both working fine & the issue is with this plugin/my app.
Any ideas on what's wrong? Thanks in advance for any help.
Hello! How to define stream quality. Picture is very low.
Hi,
I would like my app to start streaming on start up. I've tried modifying RTSPActivity.java and added '_toggleStreaming()' at the end of the 'onCreate' function.
The streaming works fine but I cannot see the camera view on the streaming device until one of the UI buttons have been clicked (e.g. switch the camera to front).
Could you tell me how to hide the black background or show the camera over the top of it please?
i am using videoStreamer.streamRTMPAuth('uri', 'your-username', 'your-password', [success], [failed]);
but when i check it on ionic app. it's showing error "COnnection failed. [AccessManager.Reject] : [code=403 need auth; authmod=llnw]:"
i check username password with key and url in OBS. it's working on OBS but showing error in app.
Im unable to use this awesome library, would anyone help me figuring out how to import this library in a angular ionic project?
I've tried this:
import * as videoStreamer from 'cordova-rtsp-rtmp-stream';
and this:
import { videoStreamer } from 'cordova-rtsp-rtmp-stream';
but nothing worked
Thanks for your time.
Is possible to make it work for IOS?
Hello Sir,
Firstly, Thanks for great work.
Secondly,
also i found that camera is stretched, is there any option can i make to solve this problem?
Best Regards
Hi!
I've got a NGINX RTMP server (receive in 1935 port and play in 80 port in HLS format). I've used other plugin for iOS without problems. For Android i'm using this plugin and works correctly in many Android devices, but in many others, only sends audio but no video (no only in old Android versions and no only in old devices... LG, Samsung and others). I've tried every thing I know, without success.
Any idea where is the problem?
Thank you!
Hello, I am creating a streaming app from an ionic capacitor.
This library work from ionic?
Hello,
i need a help, im using cordova but how can i using this repo and can you give me full example code. i need a so much.
ThankYou sure 👍
After update to the latest version I am getting this error
Hi!
I've got 2 request about your plugin:
Thank you very much!
May be its issue on new android os but im causing issues on connect.
Is this plugin still actual\working?
Im using ionic 5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.