Giter Club home page Giter Club logo

Comments (8)

pedroSG94 avatar pedroSG94 commented on June 2, 2024

Hello,

Fixed here:
9f2178d

You can compile this using this gradle:

  implementation 'com.github.pedroSG94.RootEncoder:library:9f2178dea0'

I will upload this fix in the next version soon

from rootencoder.

brian7704 avatar brian7704 commented on June 2, 2024

Thank you for your quick response! Unfortunately when I use that gradle the preview works for about 1 second and then freezes. Then I cannot start streaming as usual. I'm looking at logcat and I see these messages but I'm not sure if they're related to the problem.

2024-03-13 15:25:22.515  7477-7565  pentakicu.debu          io.opentakserver.opentakicu.debug    W  Core platform API violation: Ljava/nio/Buffer;->position:I from Landroid/opengl/GLES20; using JNI
2024-03-13 15:25:22.515  7477-7565  pentakicu.debu          io.opentakserver.opentakicu.debug    W  Core platform API violation: Ljava/nio/Buffer;->limit:I from Landroid/opengl/GLES20; using JNI
2024-03-13 15:25:22.515  7477-7565  pentakicu.debu          io.opentakserver.opentakicu.debug    W  Core platform API violation: Ljava/nio/Buffer;->_elementSizeShift:I from Landroid/opengl/GLES20; using JNI

from rootencoder.

pedroSG94 avatar pedroSG94 commented on June 2, 2024

Hello,

That logcat is not related with your case.
Can you explain me more? What do you mean with the preview freeze?
The stream result freeze or the preview in the android app?

from rootencoder.

pedroSG94 avatar pedroSG94 commented on June 2, 2024

I downloaded the app but I don't understand it. How can I test to reproduce it?

from rootencoder.

brian7704 avatar brian7704 commented on June 2, 2024

When I use this gradle implementation 'com.github.pedroSG94.RootEncoder:library:9f2178dea0' the preview in my app freezes about 1 second after I open it. Then I cannot start streaming. When I use version 2.4.0 there is no freezing. Here is a debug build of my app using the 9f2178dea0 gradle so you can see the problem.

from rootencoder.

brian7704 avatar brian7704 commented on June 2, 2024

Just got got an ANR with that gradle.

139% 959/[email protected]: 106% user + 32% kernel / faults

from rootencoder.

pedroSG94 avatar pedroSG94 commented on June 2, 2024

Fixed here:

  implementation 'com.github.pedroSG94.RootEncoder:library:82cf9217b9'

from rootencoder.

brian7704 avatar brian7704 commented on June 2, 2024

Thank you, that fixed the freezing and the aspect ratio problems.

from rootencoder.

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.