Instruct testRTC to collect webrtc-internals at that point in time.
Instruct testRTC to collect webrtc-internals at that point in time.
testRTC has two ways of collecting data:
- By “downloading” the webrtc-internals dump file at the end of a test
- By using getstats
Using getstats requires testRTC to latch on and override the WebRTC APIs, and that doesn’t work for some applications. webrtc-internals might be empty if collected at the end of a test if the peer connection is closed already.
When you need to collect data via webrtc-internals before the end of the test, then you can and should use rtcCaptureCallData().
Arguments
Name | Type | Description |
---|---|---|
tab | integer (optional) | Indicates which tab points to chrome://webrtc-internals. By default, tab=0You should use this argument if the open tab gets closed by your application and you need to open it manually later on – some proctoring applications do that. |
Note:
- Don’t call this script command if you are not sure that it is needed.
- If you need it, make sure you call it only once.