Skip to content

refactor: streamline Android display streaming around shared video#76

Merged
DjDeveloperr merged 5 commits into
mainfrom
improve-android-display-streaming
Jun 5, 2026
Merged

refactor: streamline Android display streaming around shared video#76
DjDeveloperr merged 5 commits into
mainfrom
improve-android-display-streaming

Conversation

@DjDeveloperr
Copy link
Copy Markdown
Collaborator

Summary

  • Remove the legacy Android gRPC screenshot and RGBA WebRTC fallback paths
  • Route Android live video through -share-vid shared memory into the native H.264 encoder
  • Update the browser client, API types, docs, and simulator boot flow to match the new single path
  • Clean up the native bridge and drop now-unused protobuf/transport dependencies

Testing

  • Unit tests passed for the server and client stream selection paths
  • Docs build passed
  • Full app build passed

…mponents

- Updated StreamQualityLimits struct to be cloneable and public.
- Introduced stream_quality_limits_for_payload function to resolve quality limits from payload.
- Refactored Android H.264 socket handling to utilize new quality resolution logic.
- Renamed native encoder function to encode BGRA frames instead of RGBA.
- Removed deprecated RGBA WebRTC transport handling in favor of H.264.
- Implemented shared video frame encoding for Android using native H.264 encoder.
- Improved error handling and logging for stream quality updates and encoding failures.
- Updated SimDeck documentation to reflect changes in Android live viewing capabilities.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 4, 2026

Deploying simdeck with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1fcabf1
Status: ✅  Deploy successful!
Preview URL: https://05c56e63.simdeck.pages.dev
Branch Preview URL: https://improve-android-display-stre.simdeck.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Jun 4, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
simdeckciproxy 1fcabf1 Commit Preview URL

Branch Preview URL
Jun 05 2026, 03:16 AM

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 4, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d696ec56-dd03-4e8d-8013-1fc1fd4a3c7c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch improve-android-display-streaming

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 and usage tips.

@DjDeveloperr DjDeveloperr merged commit de43ebd into main Jun 5, 2026
12 checks passed
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.

1 participant