8000 feat: Migrate to the new Surface API. by cloudwebrtc · Pull Request #1726 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

feat: Migrate to the new Surface API. #1726

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

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

cloudwebrtc
Copy link
Member

No description provided.

@furkanKotic
Copy link
furkanKotic commented Feb 25, 2025 8000

@cloudwebrtc In Flutter 3.27 or 3.29 versions, when I tested with my Android 14 device, the screen turns black when entering a room. When I tested with these pull request changes, the problem is solved. Do you have a merge plan?

@cloudwebrtc cloudwebrtc merged commit 076e095 into main Feb 28, 2025
8 checks passed
@cloudwebrtc cloudwebrtc deleted the feat/migrate-to-new-surface-api branch February 28, 2025 15:14
@zhuhaichao518
Copy link

@cloudwebrtc I forked very old version and updated the whole android folder recently. I am not very familiar with android texture register, but I see the video not rendered after resume from background. I guess we need to set surface = null; at the end of surfaceDestroyed() function? That fixes the issue in my case.

daniel-g-favoreto-opl pushed a commit to daniel-g-favoreto-opl/flutter-webrtc that referenced this pull request Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0