Git Product home page Git Product logo

Comments (5)

ThibaultBee avatar ThibaultBee commented on July 19, 2024 2

Hi,
Thanks for the hint :)
Somehow, the screen recorder frame is always oriented in portrait.
I have made a fix in the main branch. Could you test it?

from streampack.

lcksk avatar lcksk commented on July 19, 2024 1

Yes, using main branch to confirm the issures is gone.

from streampack.

lcksk avatar lcksk commented on July 19, 2024

I've tried a few more phones and each has this problem -(

from streampack.

ThibaultBee avatar ThibaultBee commented on July 19, 2024

Hi,

I will have a look when I have time.

from streampack.

lcksk avatar lcksk commented on July 19, 2024

I will have a look when I have time.

Thanks for your attention. Just now, I took a moment to debug a bit and found that if the first parameter of setMVPMatrixAndViewPort() is forced to 90 degrees, the behavior is normal. Since I don't know much about gles, I can't submit a valid PR, so if you have time, you can see if there is a perfect solution.

private fun initOrUpdateSurfaceTexture(surface: Surface) {
            eglSurface = ensureGlContext(EGlSurface(surface)) {
                val width = it.getWidth()
                val height = it.getHeight()
                fullFrameRect = FullFrameRect(Texture2DProgram()).apply {
                    textureId = createTextureObject()
                    setMVPMatrixAndViewPort(
                        90fps,
                        Size(width, height)
                    )
                }

from streampack.

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.