webrtc-extensions icon indicating copy to clipboard operation
webrtc-extensions copied to clipboard

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

Open bdrtc opened this issue 2 years ago • 2 comments

Background

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.

Request 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.

bdrtc avatar Nov 04 '22 07:11 bdrtc