Skip to content

Improve Android camera failure diagnostics - #31

Merged
mrinc merged 1 commit into
masterfrom
fix/android-camera-diagnostics
Sep 20, 2026
Merged

mrinc merged 1 commit into
masterfrom
fix/android-camera-diagnostics

Conversation

@bcbetterninja

Copy link
Copy Markdown
Contributor

Android camera failures previously recorded only a generic Media3 error code, making failures such as ERROR_CODE_IO_UNSPECIFIED difficult to diagnose.

Include camera ID, stream selection, retry state, bounded nested exception types and stack locations, known network categories, and recognized RTSP method/status codes. Record startup failures, stalled or ended streams, reconnect timing, and recovery. Exclude arbitrary exception messages and stream URLs to protect credentials.

Validation: four Kotlin/JUnit diagnostic tests passed, covering credential exclusion, RTSP status filtering, cyclic/deep cause chains, and identifier validation. git diff --check passed. Full Android build and device validation remain pending because the local environment has no Android SDK.

@coderabbitai

coderabbitai Bot commented Sep 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: b9ee5e5c-edcb-4fed-a741-40b99386fd9f


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mrinc
mrinc merged commit d2a5504 into master Sep 20, 2026
10 checks passed
@mrinc
mrinc deleted the fix/android-camera-diagnostics branch September 20, 2026 21:31
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.

2 participants