I have been trying to get the webrtc logs for my web application running over safari browser, similar to what we get in firefox by going to the page about:webrtc
and on chrome by using chrome://webrtc-internals
.
Alternatively, Is there any js API for webrtc to get the logs on the console itself, similar to what we use in Native Android and iOS applications using the RTCLogger.
Thanks in Advance
On Safari Version 15.4 (17613.1.17.1.13)
, useful information can be retrieved this way:
Preferences...
-> Advanced
, ensure Show Develop menu in menu bar
is enabled.Console
tab, then ensure WebRTC Logging
is not Off
(and so choose either Basic
or Verbose
).At that point the Console will show WebRTC events and data structures.
e.g.: