Bug 278092

Summary: Better way to enable WebRTC verbose logs in Safari
Product: WebKit Reporter: Kaustav <kagh>
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: rcaliman, webkit-bug-importer, youennf
Priority: P1 Keywords: InRadar
Version: Safari 18   
Hardware: All   
OS: Unspecified   

Kaustav
Reported 2024-08-14 02:53:19 PDT
Problem: Enabling WebRTC & media verbose logs on Safari currently require UI interaction. We have to rely on AppleScripts in automation in order to update these settings, which is not ideal. Possible solutions: A) A new plist key for Safari to enable verbose WebRTC and media logs. For example: defaults write com.apple.Safari WebRTCLogging -string "Verbose" defaults write com.apple.Safari MediaLogging -string "Verbose" B) In order to enable info and verbose logging on Chrome, it can be launched with [command line flags](https://webrtc.github.io/webrtc-org/native-code/logging/). Perhaps something like this could also be implemented for Safari?
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-21 02:54:20 PDT
youenn fablet
Comment 2 2024-11-13 02:24:44 PST
One viable solution is to add WebDriver support to control logs settings.
youenn fablet
Comment 3 2024-11-21 11:33:25 PST
Note You need to log in before you can comment on or make changes to this bug.