Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android SDK] Rotation issue during screen share #5214

Closed
mustafaboleken opened this issue Jun 7, 2023 · 1 comment · Fixed by ant-media/WebRTC-Android-SDK#28
Closed
Assignees
Labels

Comments

@mustafaboleken
Copy link
Contributor

Rotation issue fix that we merged before is not working properly. Everything works fine when application is opened. If we go to another application, rotation is not working.

Findings: onFrame triggered by SurfaceTextureHelper and if app is paused, it's not triggered.

@mustafaboleken
Copy link
Contributor Author

When we listen orientation changes on VideoSink -> onFrame function, windowManager.getDefaultDisplay().getRotation() cannot get rotation during ap is paused. To solve this, I implemented OrientationEventListener to listen orientation change even app is paused.

@mekya mekya moved this from 🏗 In progress to After sprint in Ant Media Server Jun 19, 2023
@mekya mekya moved this from After sprint to 🏗 In progress in Ant Media Server Jun 19, 2023
@burak-58 burak-58 moved this from 🏗 In progress to After sprint in Ant Media Server Jul 3, 2023
@mekya mekya moved this from After sprint to 🏗 In progress in Ant Media Server Sep 11, 2023
@mekya mekya moved this from 🏗 In progress to After sprint in Ant Media Server Sep 18, 2023
@mekya mekya moved this from After sprint to 🏗 In progress in Ant Media Server Sep 19, 2023
@burak-58 burak-58 moved this from 🏗 In progress to After sprint in Ant Media Server Oct 2, 2023
@github-project-automation github-project-automation bot moved this from After sprint to ✅ Done in Ant Media Server Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants