Giter Club home page Giter Club logo

Comments (3)

pedroSG94 avatar pedroSG94 commented on June 16, 2024 1

Hello,

This should be fixed here:
e716ae1

I think I tested all cases but let me know if I missed something. I will upload the next version with the fixes soon

from rootencoder.

pedroSG94 avatar pedroSG94 commented on June 16, 2024 1

Hello,

I think it would be easier to use the sample by determining whether it is portrait or landscape when initializing the Fragment and setting it as the initial value.

Yes, this is an option but I think it is more confuse because the user can open in landscape, rotate to portrait and then start stream. The orientation will be horizontal in this case but If I open in Portrait and start stream the orientation is vertical and this could be confuse to understand.

I did it always horizontal and you can change it in the menu to vertical, this way it is easy to understand that you will stream horizontal until you change it in the menu.
I will keep the current way for this reason.

The error seem fixed. I will close the issue as completed but you can reopen it if you need or open other issue.
Thank you for the report

from rootencoder.

maehata-fairy avatar maehata-fairy commented on June 16, 2024

Hello,

I immediately checked the operation and confirmed that there were no problems in case 1 and case 2.

In case 1, CameraFragment's private var rotation is 0 by default,
so, I think sample codes assume landscape orientation.
I think it would be easier to use the sample by determining whether it is portrait or landscape when initializing the Fragment and setting it as the initial value.

and In case2,
after rewriting private var rotation = 90,
I commented out surfaceView.holder.addCallback and confirmed that it was streamed by Fit.

Thank you for your quick response.

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.