GithubHelp home page GithubHelp logo

cordova-rtmp-rtsp-stream's People

Contributors

danielnetodotcom avatar disono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cordova-rtmp-rtsp-stream's Issues

iOS extension

Thanks for your work.

Any chance to get the plugin working on iOS?

Stream Android Screen to RTMP

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.

Camera stuck recording/streaming in portrait

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.

IONIC stream camera

Hi, can you give me some help/example how to publish the camera on IONIC?

Stream works on initial load then stops

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.

Start streaming on app load

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?

rtmp authentication error

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.

where and how to import videoStreamer?

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.

Comment List and another options

Hello Sir,

Firstly, Thanks for great work.
Secondly,

  • What is the structure of comments list parameter passed to commentList?
  • Can i update comments by showing new comments added?
  • How to hide some button on live stream view e.g. REC, Flash button?
  • Can i make stream started automatically, without click on camera icon on live stream view?

also i found that camera is stretched, is there any option can i make to solve this problem?

Best Regards

Android: Only send audio but no video

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!

Help me ?

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 👍

[Request] Portrait screen and screen size

Hi!
I've got 2 request about your plugin:

  • It's possible to use in PORTRAIT mode? (now force landscape)
  • It's to possible set the height of the Layout, showing the background (Cordova HTML page) in the rest of screen (for example 50%-50%)?

Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.