Skip to content

Connect media and capture state signals#221

Closed
felipeerias wants to merge 6 commits intomainfrom
felipeerias/webkit-signals
Closed

Connect media and capture state signals#221
felipeerias wants to merge 6 commits intomainfrom
felipeerias/webkit-signals

Conversation

@felipeerias
Copy link
Copy Markdown
Collaborator

WebKit notifications for media playback and capture state changes:

  • notify::is-playing-audio: Track when audio starts/stops playing
  • notify::is-muted: Track mute state changes
  • notify::camera-capture-state: Track camera capture activity
  • notify::microphone-capture-state: Track microphone capture activity
  • notify::display-capture-state: Track screen sharing activity

@felipeerias
Copy link
Copy Markdown
Collaborator Author

This PR builds on top of #220

In clang-tidy rules, change WarningsAsErrors to warnings only.
Preserve Cerbero build folder during gradle clean.
Replace the legacy wpe-android view-backend with the new WPE Platform API,
providing a cleaner integration with WebKit's rendering pipeline.

New implementations:
- WPEDisplayAndroid: Android-specific WPEDisplay
- WPEToplevelAndroid: Window/toplevel management
- WPEViewAndroid: View with buffer handling via AHardwareBuffer
- WPEInputMethodContextAndroid: Input method context

Key changes:
- RendererSurfaceControl uses WPEBuffer directly instead of WPEAndroidBuffer
- Connect fundamental WebKit signals for navigation, loading, and UI
@felipeerias felipeerias force-pushed the felipeerias/webkit-signals branch from c797529 to c475cd9 Compare January 16, 2026 11:50
Add full keyboard support for web content using WPE's input method context:

- AndroidKeyMap.h: Maps Android keycodes to XKB keysyms
- WPEInputConnection: Android InputConnection for soft keyboard
- Support for text composition, deletion, and hardware key events

The input method context integrates with WPE's focus tracking to
show/hide the soft keyboard when input fields gain or lose focus.
WebKit notifications for media playback and capture state changes:

- notify::is-playing-audio: Track when audio starts/stops playing
- notify::is-muted: Track mute state changes
- notify::camera-capture-state: Track camera capture activity
- notify::microphone-capture-state: Track microphone capture activity
- notify::display-capture-state: Track screen sharing activity
@aperezdc
Copy link
Copy Markdown
Member

aperezdc commented Feb 5, 2026

The changes that actually deal with wiring the media signals (and only that part) was extracted from this PR and merged in #229

@aperezdc aperezdc closed this Feb 5, 2026
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