Bug 267697
| Summary: | Add a debugging mode to capture RTC event logs to investigate WebRTC quality and performance issues | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kaustav <kagh> |
| Component: | WebRTC | Assignee: | youenn fablet <youennf> |
| Status: | RESOLVED FIXED | ||
| Severity: | Major | CC: | bfulgham, webkit-bug-importer, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 276879, 276933 | ||
Kaustav
Could you please add RTC event log support in Safari. Here's more info about this logging https://webrtc.googlesource.com/src/+/lkgr/logging/g3doc/rtc_event_log.md
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/121188500>
youenn fablet
Pull request: https://github.com/WebKit/WebKit/pull/30550
Kaustav
@youenn could you please also share the instructions on how to get these logs or webrtc verbose logs from the web inspector?
youenn fablet
@Kaustav, at the moment, you can call gatherRTCLogs from web inspector, and pass it a callback, which will be called with the following dictionary:
dictionary RTCLogs {
DOMString type;
DOMString message;
DOMString level;
ArrayBuffer data;
RTCPeerConnection connection;
};
type can be logs and stats currently, message is where the info is.
Once this bugs is fixed, there will be a new type named events, data is where the info will be.
Kaustav
thanks @youenn. And to confirm on how to enable verbose WebRTC logs, there is still only one option through the dropdown menu in settings?
EWS
Committed 281087@main (240da917427d): <https://commits.webkit.org/281087@main>
Reviewed commits have been landed. Closing PR #30550 and removing active labels.
Elliott Williams
This was reverted in https://bugs.webkit.org/show_bug.cgi?id=276933 due to build breakage.
Kaustav
Could you please re-enable this feature in Safari? RTC event logs are very useful for video quality or bandwidth estimation related investigations in WebRTC.