| Index: content/browser/resources/media/peer_connection_update_table.js
|
| diff --git a/content/browser/resources/media/peer_connection_update_table.js b/content/browser/resources/media/peer_connection_update_table.js
|
| index f3475a8174a938143caca6d76b5a3041533aad20..35b46cac610705cf1a6a58a3e72cb27836decc85 100644
|
| --- a/content/browser/resources/media/peer_connection_update_table.js
|
| +++ b/content/browser/resources/media/peer_connection_update_table.js
|
| @@ -99,6 +99,15 @@ var PeerConnectionUpdateTable = (function() {
|
| return;
|
| }
|
|
|
| + if (update.type === 'onIceCandidate' ||
|
| + update.type === 'addIceCandidate') {
|
| + // extract ICE candidate type from the field following typ.
|
| + var candidateType = update.value.match(
|
| + /(?: typ )(host|srflx|relay)/)[1];
|
| + if (candidateType) {
|
| + type += ' (' + candidateType + ')';
|
| + }
|
| + }
|
| row.innerHTML += '<td><details><summary>' + type +
|
| '</summary></details></td>';
|
|
|
|
|