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

Add support for WebRTC in WPE via the GstWebRTC backend #550

Merged
merged 7 commits into from
Jan 6, 2025

Conversation

cadubentzen
Copy link

@cadubentzen cadubentzen commented Dec 19, 2024

This PR adds to buildroot the bits that are needed for WPE 2.46 to be compiled with support for WebRTC via the GstWebRTC backend.

  1. Add the option to the wpewebkit recipe
  2. Add (many) GStreamer backports for GstWebRTC to work with GStreamer 1.18.6
  3. Miscellaneous fixes/updates in gst1-bcm, libnice, libmanette and cog

The GStreamer patches

GstWebRTC and the webrtcbin element is relatively new feature in GStreamer and would work best with GStreamer 1.24. In order to add support for that in 1.18, many backports were needed:

  • Improvements to e.g. appsink/appsrc, video parsers, RTP payloaders, RTP manager stack (from GStreamer 1.22)
  • Recent webrtcbin improvements (Code from 1.24 + patches for track events that are relevant in WPE)

The GStreamer patches are only applied if we're building WPE with GstWebRTC.

@cadubentzen cadubentzen mentioned this pull request Dec 19, 2024
cadubentzen added a commit to WebPlatformForEmbedded/WPEWebKit that referenced this pull request Dec 20, 2024
In downstream WPE, we build with GstWebRTC support by using GStreamer
1.18 + backports for GstWebRTC from WebPlatformForEmbedded/buildroot#550
@cadubentzen cadubentzen requested a review from philn January 6, 2025 08:10
@cadubentzen cadubentzen merged commit d319a11 into wpe Jan 6, 2025
@cadubentzen cadubentzen deleted the wpe-gstwebrtc branch January 6, 2025 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants