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: WebRTCAssignee: 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
Reported 2024-01-18 05:43:09 PST
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
Radar WebKit Bug Importer
Comment 1 2024-01-18 05:49:11 PST
youenn fablet
Comment 2 2024-07-07 10:18:34 PDT
Kaustav
Comment 3 2024-07-08 03:20:44 PDT
@youenn could you please also share the instructions on how to get these logs or webrtc verbose logs from the web inspector?
youenn fablet
Comment 4 2024-07-08 11:11:17 PDT
@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
Comment 5 2024-07-08 11:24:34 PDT
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
Comment 6 2024-07-18 06:59:03 PDT
Committed 281087@main (240da917427d): <https://commits.webkit.org/281087@main> Reviewed commits have been landed. Closing PR #30550 and removing active labels.
Elliott Williams
Comment 7 2024-07-23 13:53:08 PDT
This was reverted in https://bugs.webkit.org/show_bug.cgi?id=276933 due to build breakage.
Kaustav
Comment 8 2024-11-21 20:34:24 PST
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.
Note You need to log in before you can comment on or make changes to this bug.