W3C home > Mailing lists > Public > public-webrtc@w3.org > November 2022

[webrtc-extensions] do we need a log callback function of webrtc native log in browser? (#124)

From: webrtc@bytedance via GitHub <webrtc@bytedance>
Date: Fri, 04 Nov 2022 07:32:40 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-1435674020-1667547158-sysbot+gh@w3.org>
bdrtc has just created a new issue for https://github.com/w3c/webrtc-extensions:

== do we need a log callback function of webrtc native log in browser? ==

we know webrtc provide getStats api for developer debug call, but sometimes this approach is insufficient from a developer perspective when debug online problem,  webrtc native have a lot of log and disabled by default in browser, chrome provide command line log arguments to active native log but not others,  sometimes developer need those webrtc native log to analize online problem, Especially mobile browsers are more fragmented, and there is no way to enable webrtc native logs in these browsers to analyze some compatibility issues.

The request here is to be able to add a log callback function to RTCPeerConnection to print webrtc native log, and add log level configure to RtcConfiguration

i open it as start here,  developers with the same pain points/requirements can discuss here.

Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/124 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 4 November 2022 07:32:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 4 November 2022 07:32:42 UTC