Add a debugging mode to capture RTC event logs to investigate WebRTC quality and performance issues#30550
Conversation
|
EWS run on previous version of this PR (hash 71d6f1d) Details |
71d6f1d to
060bb87
Compare
|
EWS run on previous version of this PR (hash 060bb87) Details |
060bb87 to
8e05970
Compare
|
EWS run on previous version of this PR (hash 8e05970) Details |
|
@ddkilzer, to compile protobuf, I had to add a few -Wno-global-constructors and -Wno-exit-time-destructors. |
8e05970 to
ac32c67
Compare
|
EWS run on previous version of this PR (hash ac32c67) Details |
ac32c67 to
ac2d24e
Compare
|
EWS run on previous version of this PR (hash ac2d24e) Details |
|
The size of libwebrtc.dylib goes from 15.9 MB to 17.6 MB with the addition of protobuf. |
ac2d24e to
27bb373
Compare
|
EWS run on current version of this PR (hash 27bb373) Details |
|
iOS failure unrelated, landing. |
…quality and performance issues https://bugs.webkit.org/show_bug.cgi?id=267697 rdar://121188500 Reviewed by Eric Carlson. Upload protobuf to use the headers and compile routines in libwebrtc. Make use of event logging libwebrtc support and expose it via gatherRTCLogs web inspector function. * LayoutTests/http/tests/inspector/gatherWebInspectorRTCLogs.html: * Source/ThirdParty/libwebrtc/Configurations/Base-libwebrtc.xcconfig: * Source/ThirdParty/libwebrtc/Configurations/libwebrtc.xcconfig: * Source/ThirdParty/libwebrtc/Source/third_party/protobuf: Added. * Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj: * Source/WebCore/Modules/mediastream/PeerConnectionBackend.h: (WebCore::PeerConnectionBackend::startGatheringEventLogs): (WebCore::PeerConnectionBackend::stopGatheringEventLogs): * Source/WebCore/Modules/mediastream/RTCController.cpp: (WebCore::RTCController::add): (WebCore::RTCController::startGatheringLogs): (WebCore::RTCController::stopGatheringLogs): (WebCore::RTCController::startGatheringConnectionLogs): (WebCore::RTCController::stopGatheringConnectionLogs): (WebCore::RTCController::startGatheringStatLogs): Deleted. * Source/WebCore/Modules/mediastream/RTCController.h: * Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp: (WebCore::RTCPeerConnection::startGatheringEventLogs): (WebCore::RTCPeerConnection::stopGatheringEventLogs): * Source/WebCore/Modules/mediastream/RTCPeerConnection.h: * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::stop): (WebCore::LibWebRTCMediaEndpoint::OnStatsDelivered): (WebCore::LibWebRTCMediaEndpoint::statsLogInterval const): (WebCore::LibWebRTCMediaEndpoint::startStatLogs): (WebCore::LibWebRTCMediaEndpoint::stopStatLogs): (WebCore::LibWebRTCMediaEndpoint::startEventLogs): (WebCore::LibWebRTCMediaEndpoint::stopEventLogs): (WebCore::LibWebRTCMediaEndpoint::provideEventLogs): (WebCore::LibWebRTCMediaEndpoint::startRTCLogs): Deleted. (WebCore::LibWebRTCMediaEndpoint::stopRTCLogs): Deleted. * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.h: (WebCore::LibWebRTCMediaEndpoint::Release const): * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp: (WebCore::LibWebRTCPeerConnectionBackend::startGatheringStatLogs): (WebCore::LibWebRTCPeerConnectionBackend::stopGatheringStatLogs): (WebCore::LibWebRTCPeerConnectionBackend::startGatheringEventLogs): (WebCore::LibWebRTCPeerConnectionBackend::stopGatheringEventLogs): (WebCore::LibWebRTCPeerConnectionBackend::provideEventLogs): * Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.h: * Source/WebCore/dom/Document.h: * Source/WebCore/inspector/CommandLineAPIHost.cpp: (WebCore::CommandLineAPIHost::gatherRTCLogs): * Source/WebCore/inspector/RTCLogsCallback.h: * Source/WebCore/inspector/RTCLogsCallback.idl: Canonical link: https://commits.webkit.org/281087@main
27bb373 to
240da91
Compare
|
Committed 281087@main (240da91): https://commits.webkit.org/281087@main Reviewed commits have been landed. Closing PR #30550 and removing active labels. |
240da91
27bb373
🛠 tv