RESOLVED FIXED302852
[GTK] Broken build when libwebrtc is enabled
https://bugs.webkit.org/show_bug.cgi?id=302852
Summary [GTK] Broken build when libwebrtc is enabled
Cristina Murillo
Reported 2025-11-20 01:47:48 PST
If libWebRTC is enabled by passing -DUSE_GSTREAMER_WEBRTC=OFF in the cmakeargs, RealtimeOutgoingAudioSourceLibWebRTC fails to compile with the following error: RealtimeOutgoingAudioSourceLibWebRTC.h:55:38: error: unknown type name 'MediaTime'; did you mean 'WTF::MediaTime'? 55 | void audioSamplesAvailable(const MediaTime&, const PlatformAudioData&, const AudioStreamDescription&, size_t) final; The compilation fails due to a missing MediaTime.h include (used by audioSamplesAvailable parameter). Additionally, there are incorrect platform guards, the gstreamer specific implementation is currently guarded only by USE(LIBWEBRTC), potentially causing build failures on platforms with libWebRTC but without GStreamer.
Attachments
Cristina Murillo
Comment 1 2025-11-20 02:39:15 PST
EWS
Comment 2 2025-11-20 04:08:17 PST
Committed 303322@main (547a9d491095): <https://commits.webkit.org/303322@main> Reviewed commits have been landed. Closing PR #54241 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-11-20 04:09:12 PST
Note You need to log in before you can comment on or make changes to this bug.