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

Fix RTC_DISABLE_PROXY_TRACE_EVENTS define usage #109

Merged
merged 3 commits into from
Jul 5, 2024
Merged

Conversation

evdokimovs
Copy link

@evdokimovs evdokimovs commented Jul 3, 2024

In instrumentisto/medea-flutter-webrtc#162 it was discovered that currently libwebrtc headers are not compiling on desktop platforms, because of perfetto usage in pc/proxy.h file.

libwebrtc has RTC_DISABLE_PROXY_TRACE_EVENTS define which disables tracing in this file, but it doesn't disable include of files required for this tracing.

So this PR hides include for the trace_event.h under RTC_DISABLE_PROXY_TRACE_EVENTS define.

@evdokimovs evdokimovs added enhancement New feature or request k::refactor Refactoring, technical debt elimination and other improvements of existing code base labels Jul 3, 2024
@evdokimovs evdokimovs self-assigned this Jul 3, 2024
@evdokimovs
Copy link
Author

FCM

Fix `RTC_DISABLE_PROXY_TRACE_EVENTS` define usage (#109)

Additionally:
- fix arguments names in `RTCYUVHelper`

@evdokimovs evdokimovs requested a review from tyranron July 4, 2024 12:30
@evdokimovs evdokimovs marked this pull request as ready for review July 4, 2024 12:30
@tyranron tyranron enabled auto-merge (squash) July 5, 2024 08:26
@tyranron tyranron merged commit 4adb47a into main Jul 5, 2024
13 checks passed
@tyranron tyranron deleted the fix-desktop-build branch July 5, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request k::refactor Refactoring, technical debt elimination and other improvements of existing code base
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants