Giter VIP home page Giter VIP logo

Comments (8)

tpaul1611 avatar tpaul1611 commented on July 28, 2024

Hello,

I have the same problem, is there a solution to this?

from quickblox-android-sdk.

kevindumanoir avatar kevindumanoir commented on July 28, 2024

Unfortunately no, I switched to another solution...

from quickblox-android-sdk.

soulfly avatar soulfly commented on July 28, 2024

So strange, I have added Switch camera button to the sample and it works without any issues, can you try it. Does it work for you?

from quickblox-android-sdk.

tpaul1611 avatar tpaul1611 commented on July 28, 2024

Thank you for your fast response!

I tested it with your changes, unfortunately it does not work for me.
Tested on S3 mini (4.1.2) and Nexus 7 (4.4.4). The Nexus even crashed on switchCamera() because it has only a front camera i think.

Here are my logs from the Nexus 7 (the freezing opponent), i switched the camera around 12:44:21.
http://pastebin.com/NbT2DNrs

edit: I see nothing suspicious in the logs.

from quickblox-android-sdk.

soulfly avatar soulfly commented on July 28, 2024

Master brunch was updated with video chat sample and this issue was fixed

from quickblox-android-sdk.

tpaul1611 avatar tpaul1611 commented on July 28, 2024

This works, thanks for this fix!

There occurred an other issue, the picture of the back camera is rotated by 90 degree to the right, while the picture of the front camera is not.
Is this a problem of the sending(recording) device?
I could imagine that the back camera is not proberly configured by the QB SDK, is that a possibility?

Thanks for everthing so far and in advance!

edit: I think the problem could be related to this one: http://stackoverflow.com/questions/6853401/camera-pixels-rotated

edit: I think adding this somewhere in com.quickblox.module.videochat.views.CameraView could possible fix this issue.
http://developer.android.com/reference/android/hardware/Camera.html#setDisplayOrientation%28int%29

from quickblox-android-sdk.

soulfly avatar soulfly commented on July 28, 2024

Ok, another commit was pushed.
I have moved some logic from SDK into sample and it's a OwnSurfaceView class

now it works, at least we tested on some Nexus devices
anyway now you have an access to rotation through OwnSurfaceView and can fix it for other devices if need

from quickblox-android-sdk.

tpaul1611 avatar tpaul1611 commented on July 28, 2024

Wow, thank you a lot!
This is exactly what i hoped for!

from quickblox-android-sdk.

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.