Enable users of a WebRtc app to download webrtc logs via javascript

Viewed 1482

I've seen the following:

chrome://webrtc-internals 

However I'm looking for a way to let users click a button from within the web app to either download or - preferably - POST WebRtc logs to an endpoint baked into the app. The idea is that I can enable non-technical users to share technical logs with me through the click of a UI button.

How can this be achieved?

Note: This should not be dependent on Chrome; Chromium will also be used as the app will be wrapped up in Electron.

3 Answers
Related