GithubHelp home page GithubHelp logo

Comments (5)

ibc avatar ibc commented on May 24, 2024

Sorry, no idea, it does not happen in my apps so it must be a bad usage. Please use the mailing list for questions and doubts about the plugin usage. And check this: https://github.com/eface2face/cordova-plugin-iosrtc/blob/master/docs/iosrtc.md#iosrtcrefreshvideos

from cordova-plugin-iosrtc.

otis78 avatar otis78 commented on May 24, 2024

I do more tests.
I try to stop refresh after 5s (from render start run) in PluginMediaStreamRenderer than nothing can modify native video from js/html. I think there is some problem in native side (maybe my problem but I can't find it).
I see that when the device is about 45 degrees there is something like a change orientation event (same fade-in animation of rotation device from portrait to landscape). For some frame on remote client the video appear upside down and dark and sometime the video is very slow.
I think there is something in RTCEAGLVideoView or in capture video.

from cordova-plugin-iosrtc.

ibc avatar ibc commented on May 24, 2024

I'm sorry, but I've never experimented that issue. If you get more data and a way to reproduce it feel free to comment here.

from cordova-plugin-iosrtc.

otis78 avatar otis78 commented on May 24, 2024

To reproduce it I try iOSAppRTC and there is the same problem...I'm doing more investigation

from cordova-plugin-iosrtc.

otis78 avatar otis78 commented on May 24, 2024

I fix the bug rebuilding webrtc library. It was was on avfoundtionvideocapturer.mm in updateOrientation function.
I simply put at row 286:

if(connection.videoOrientation!=orientation) { connection.videoOrientation = orientation; }

instead of:

connection.videoOrientation = orientation;

In this way the video is not re-initialized on every change of orientation but only if new orientation is different from current. I submit an issue to webrtc project but I don't know their time to approve it.
If you want you can add this fix to your patch to build webrtc for iOS for now.

from cordova-plugin-iosrtc.

Related Issues (20)

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.