WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
268069
No iOS Safari WebRTC logs available through Console
https://bugs.webkit.org/show_bug.cgi?id=268069
Summary
No iOS Safari WebRTC logs available through Console
ivanova.m241
Reported
2024-01-25 02:25:22 PST
Created
attachment 469543
[details]
sysdiagnose No iOS Safari WebRTC logs available through Console. Steps, that I did to retrieve them: 1. Connected iOS device to the Mac with a USB cable. 2. Opened
https://webrtc.github.io/samples/src/content/peerconnection/pc1/
in Safari on iOS 3. Opened the Mac Safari Web Inspector for iOS Web Page. 4. Updated the WebRTC log setting (to Verbose), started call in webrtc samples -> there is verbose logging in Web Inspector, but these are not LibWebRTC logs 5. Opened console application, selected iOS device, pressed ‘Start streaming’, filtered with category:Webrtc -> console app is empty (will attach screenshot) I am also attaching sysdiagnose file
Attachments
sysdiagnose
(315.08 MB, application/x-gzip)
2024-01-25 02:25 PST
,
ivanova.m241
no flags
Details
console app screenshot
(126.41 KB, image/png)
2024-01-25 02:26 PST
,
ivanova.m241
no flags
Details
sysdiagnose from iOS
(335.14 MB, application/x-gzip)
2024-02-08 02:41 PST
,
Maria Ivanova
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
ivanova.m241
Comment 1
2024-01-25 02:26:38 PST
Created
attachment 469544
[details]
console app screenshot
Radar WebKit Bug Importer
Comment 2
2024-02-01 02:26:45 PST
<
rdar://problem/122081559
>
youenn fablet
Comment 3
2024-02-02 06:19:46 PST
Thanks for the report, it would have been great to get the iOS sysdiagnose.
Maria Ivanova
Comment 4
2024-02-08 02:41:49 PST
Created
attachment 469770
[details]
sysdiagnose from iOS
youenn fablet
Comment 5
2024-02-12 06:15:48 PST
I cannot reproduce on an internal device but I can reproduce the bug on a non internal device. In fact, on a non internal device, I do not see any webkit log (coming from WebContentExtension or network process at least). I can see logs from MobileSafari (including some WebRTC logs). I can see plenty of diagnosticd logs like: error 15:14:09.249644+0100 kernel Sandbox: com.apple.WebKit.Networking(9582) deny(1) mach-lookup com.apple.diagnosticd The sandbox is apparently blocking diagnosticd in regular devices but not internal devices. Could that explain the issue?
youenn fablet
Comment 6
2024-02-12 09:27:45 PST
The iOS sysdiagnose archive (system_logs.logarchive file( contains the libwebrtc messages: 2024-02-08 11:30:05.892216+0100 0x499A2 Default 0x0 3608 0 com.apple.WebKit.Networking: (WebKit) [com.apple.WebKit:WebRTC] WebContent[3606]: LibWebRTC message: (goog_cc_network_control.cc:713): bwe 24198226 pushback_target_bps=3785066 estimate_bps=3785066 Per Arne pointed out that the issue might be that these logs are not appearing in the console on regular OS versions. You might want to file a FB request. In the meantime, you can look at the logs after taking a sysdiagnose. I filed
https://bugs.webkit.org/show_bug.cgi?id=269196
to allow to get these logs from web inspector directly, which might be more convenient.
youenn fablet
Comment 7
2024-02-12 09:28:12 PST
Marking as Invalid, given the issue is not in WebKit.
Kaustav
Comment 8
2024-02-23 00:35:21 PST
I can confirm that webrtc verbose logs are available in sysdiagnose
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug