nextcloud / talk-android

📱😀 Video & audio calls through Nextcloud on Android
Other
529 stars 238 forks source link

screen off during video call #3027

Open tigermick opened 1 year ago

tigermick commented 1 year ago

Steps to reproduce

Hi, I have a problem with talk for a long time... I have a oneplus 7 pro and at first, I had a problem during calls because my pop up camera would retun in ramdomly with screen off. With the lastest releases, my pop up camera stays open but my screen randomly turns off like I have my phone near my ear ... I have to press the power button on my phone to turn the screen back on ... and a few moments later, same problem again. I have signal app and no problem like this with it ... so I think maybe it is a nextcloud talk app problem ...? Sorry for my bad english...

Expected behaviour

Normally my pop up camera should stay open during a call and my screen should stay on too

Actual behaviour

Currently, my screen becomes off randomly during a call and I have to press on power button on my phone to see my interlocutor

Device brand and model

Oneplus 7 pro

Android version

13

Nextcloud Talk app version

16.0.1

Nextcloud server version

26.0.1

Talk version

16.0.3

Custom Signaling server configured

None

Custom TURN server configured

Yes

Custom STUN server configured

Yes

Android logs

No response

Server log

No response

Additional information

No response

tigermick commented 1 year ago

Nobody had the same problem ?

tigermick commented 1 year ago

Did you forgot me ?

mahibi commented 12 months ago

Sorry @tigermick this one slipped through.

Does the call itself continue but just the screen is black? I guess it's related to Oneplus 7 pro but we will have a closer look if we find something suspicious whenever we find the time.

tigermick commented 12 months ago

@mahibi no problem 😉 Yes, the call itself continue but just the screen is black. If I press power button of my smartphone, screen is on again until the next black screen. I'm using lineageos but, there is no problem with other videoconference app like signal for exemple. Can I give you other informations to help you to find the problem ?

mahibi commented 11 months ago

Hm this should not happen because getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); is already implemented in com/nextcloud/talk/activities/CallBaseActivity.java

So unfortunately i have no idea here 🤷‍♂️

tigermick commented 11 months ago

Can I give you log during a call to help you to find the problem ?

mahibi commented 11 months ago

Can I give you log during a call to help you to find the problem ?

i don't have much hope that this will help, but i can look into it. You can send it to marcel dot hibbe at nextcloud dot com