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
Chrome web browserGo back to the "chrome://webrtc-internals/" tab, there will be at least two tabs: GetUserMedia Requests and https://your/appllication/url. You will see logs along with stats graphs. Choose the tab with the name of your application and save the page content as Web Page, Complete.
WebRTC iOS Safari supportiOS Safari has been supporting WebRTC since Safari 11.
iOS. Unfortunately, WebRTC is not supported on iOS now. Although WebRTC works well on Mac when using Firefox, Opera, or Chrome, it is not supported on iOS. Nowadays, your WebRTC application won't work on Apple mobile devices out of the box.
Chrome. Running Chrome with the following command line flags will turn on INFO and VERBOSE logging for WebRTC: chrome --enable-logging --vmodule=*/webrtc/*=1. More details on Chrome logging can be found here. The log will be named ‘chrome_debug.log’ and saved in the Chrome user data directory.
In practice, this means that your web-based WebRTC application will only work in Safari on iOS, and not in any other browser the user may have installed (Chrome, for example), nor in an ‘in-app’ version of Safari.
WebRTC logs can assist Microsoft Support by providing connection details for audio and video calls. Follow the steps to access the WebRTC logs in Edge (Chromium) or Chrome: Open the Teams Web application and reproduce the problem. Go back to the tab that was accessed in step 1 and you will see at least two tabs:
To enable WebRTC in the web browser settings, hover over the name Opera in the top left corner and open Preferences. Now, type “ WebRTC ” in the search field and enable the first option in the resulting list. In some cases, Opera blocks the WebRTC technology and to solve this problem, it is enough to check the above WebRTC settings.
If you open the Safari and also open the console application, you can filter WebRTC logs with these filters:
just copy-paste them one by one to the search bar in the console application. Actually, the second one is optional (process:safari).
I'm not sure about the others but at least you can see:
Based on the official documentation of WebRTC you can't see logs on Safari :)
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.:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With