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

Crash from Samsung devices selecting resolution #1335

Open
tonyo-vetai opened this issue Mar 25, 2025 · 1 comment
Open

Crash from Samsung devices selecting resolution #1335

tonyo-vetai opened this issue Mar 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@tonyo-vetai
Copy link

Describe the bug
We're seeing a crash on some Samsung phones causing a "NoSuchElementException: list is empty"
This is when the SDK is using selectDesiredResolution in MediaManager
My guess if first() on line 775... should be firstOrNull()0

SDK version

  • 1.4.3

To Reproduce
Steps to reproduce the behavior:
Unable to reproduce locally

Expected behavior
The SDK should handle this gracefully, not causing a crash.

Device:

  • Samsung S20+ & S20Ultra
  • Android version: 13

Screenshots

Bug stacktrace from Sentry

Image
@tonyo-vetai tonyo-vetai added the bug Something isn't working label Mar 25, 2025
@aleksandar-apostolov
Copy link
Contributor

Hi @tonyo-vetai

Thanks for the report. We will look into it.

Regards,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants