{"id":366,"date":"2018-07-02T22:15:21","date_gmt":"2018-07-02T22:15:21","guid":{"rendered":"https:\/\/blog.mozilla.org\/webrtc\/?p=366"},"modified":"2018-07-02T22:15:21","modified_gmt":"2018-07-02T22:15:21","slug":"new-tool-debugging-webrtc","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/","title":{"rendered":"New Tool for Debugging WebRTC"},"content":{"rendered":"<p>Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call?\u00a0 Or see exactly what PeerConnection API calls were made and when? Have we got a debugging deal (dev tools plugin) for you! Go <a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/devtools-media-panel\/?src=search\">here<\/a> or search for &#8220;dev tools media panel&#8221; on about:addons.<\/p>\n<h3>Getting Started<\/h3>\n<p>After loading the plugin and starting a call on, for example, appear.in, open the dev tools (Tools -&gt; Web Developer -&gt; Toggle Tools).\u00a0 Next, click on the \u201cMedia-Webrtc\u201d pane.\u00a0 The &#8220;Media-Webrtc&#8221; pane is most likely at the far right. Finally, selecting the Webrtc tab shows something like:<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-367\" src=\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-250x113.jpeg\" alt=\"\" width=\"693\" height=\"313\" srcset=\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-250x113.jpeg 250w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-768x347.jpeg 768w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-700x316.jpeg 700w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-120x54.jpeg 120w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1.jpeg 1890w\" sizes=\"(max-width: 693px) 100vw, 693px\" \/><br \/>\n<!--more--><\/p>\n<p>Expanding the PeerConnection element shows live updates on bytes\/packets transmitted and received for RTP and RTCP streams as well as a list of API calls (including arguments) and a list of ice candidates, also with live updates on incoming and outgoing bytes.<\/p>\n<h3>Details<\/h3>\n<p>Expanding the API info section, you\u2019ll see a list of API calls like this:<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-368\" src=\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2-250x127.jpeg\" alt=\"\" width=\"689\" height=\"350\" srcset=\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2-250x127.jpeg 250w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2-768x391.jpeg 768w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2-700x356.jpeg 700w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2-120x61.jpeg 120w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2.jpeg 1662w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/p>\n<p>You can even expand some of the api calls for details. Of particular note, expanding setRemoteDescription or setLocalDescription calls shows the raw SDP received.<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-369\" src=\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2a-250x115.jpeg\" alt=\"\" width=\"704\" height=\"324\" srcset=\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2a-250x115.jpeg 250w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2a-768x354.jpeg 768w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2a-700x323.jpeg 700w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2a-120x55.jpeg 120w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic2a.jpeg 1370w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/p>\n<p>And finally, the following two example screenshots show the ICE candidates and RTP\/RTCP data available. The received and transmitted bytes counters update automatically:<img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-370\" src=\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic3-250x110.jpeg\" alt=\"\" width=\"689\" height=\"303\" srcset=\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic3-250x110.jpeg 250w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic3-700x307.jpeg 700w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic3-120x53.jpeg 120w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic3.jpeg 1762w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-371\" src=\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic4-250x78.jpeg\" alt=\"\" width=\"686\" height=\"214\" srcset=\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic4-250x78.jpeg 250w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic4-768x241.jpeg 768w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic4-700x219.jpeg 700w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic4-120x38.jpeg 120w, https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic4.jpeg 1774w\" sizes=\"(max-width: 686px) 100vw, 686px\" \/><\/p>\n<p>The code for the add-on is hosted on GitHub <a href=\"https:\/\/github.com\/mjfroman\/media-devtools-panel-react\">here<\/a>. Lastly, we welcome Pull Requests! \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call?\u00a0 Or see exactly what PeerConnection API calls were made and when? Have we got a debugging deal (dev tools plugin) for you! Go here or search for &#8220;dev tools media panel&#8221; on about:addons. Getting Started After loading the plugin and [&hellip;]","protected":false},"author":1397,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"coauthors":[301096],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>New Tool for Debugging WebRTC - Advancing WebRTC<\/title>\n<meta name=\"description\" content=\"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call? Or see exactly what PeerConnection API calls were made and when?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New Tool for Debugging WebRTC - Advancing WebRTC\" \/>\n<meta property=\"og:description\" content=\"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call? Or see exactly what PeerConnection API calls were made and when?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/\" \/>\n<meta property=\"og:site_name\" content=\"Advancing WebRTC\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-02T22:15:21+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-250x113.jpeg\" \/>\n<meta name=\"author\" content=\"Michael Froman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Froman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/\",\"url\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/\",\"name\":\"New Tool for Debugging WebRTC - Advancing WebRTC\",\"isPartOf\":{\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-250x113.jpeg\",\"datePublished\":\"2018-07-02T22:15:21+00:00\",\"dateModified\":\"2018-07-02T22:15:21+00:00\",\"author\":{\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/#\/schema\/person\/0abaf725fae06cf7c5341e7e81f08f13\"},\"description\":\"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call? Or see exactly what PeerConnection API calls were made and when?\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#primaryimage\",\"url\":\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1.jpeg\",\"contentUrl\":\"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1.jpeg\",\"width\":\"1890\",\"height\":\"854\",\"caption\":\"WebRTC details\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.mozilla.org\/webrtc\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New Tool for Debugging WebRTC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/#website\",\"url\":\"https:\/\/blog.mozilla.org\/webrtc\/\",\"name\":\"Advancing WebRTC\",\"description\":\"Committed to moving Firefox and WebRTC forward\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.mozilla.org\/webrtc\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/#\/schema\/person\/0abaf725fae06cf7c5341e7e81f08f13\",\"name\":\"Michael Froman\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.mozilla.org\/webrtc\/#\/schema\/person\/image\/801649166fafbde0a9e04f3b796f332b\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e2a2be17b9bb8a1d4d7427c810996388?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e2a2be17b9bb8a1d4d7427c810996388?s=96&d=mm&r=g\",\"caption\":\"Michael Froman\"},\"description\":\"crossing IP communication streams since 2005\",\"url\":\"https:\/\/blog.mozilla.org\/webrtc\/author\/mfromanmozilla-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"New Tool for Debugging WebRTC - Advancing WebRTC","description":"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call? Or see exactly what PeerConnection API calls were made and when?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/","og_locale":"en_US","og_type":"article","og_title":"New Tool for Debugging WebRTC - Advancing WebRTC","og_description":"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call? Or see exactly what PeerConnection API calls were made and when?","og_url":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/","og_site_name":"Advancing WebRTC","article_published_time":"2018-07-02T22:15:21+00:00","og_image":[{"url":"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-250x113.jpeg"}],"author":"Michael Froman","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Michael Froman","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/","url":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/","name":"New Tool for Debugging WebRTC - Advancing WebRTC","isPartOf":{"@id":"https:\/\/blog.mozilla.org\/webrtc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#primaryimage"},"image":{"@id":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#primaryimage"},"thumbnailUrl":"http:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1-250x113.jpeg","datePublished":"2018-07-02T22:15:21+00:00","dateModified":"2018-07-02T22:15:21+00:00","author":{"@id":"https:\/\/blog.mozilla.org\/webrtc\/#\/schema\/person\/0abaf725fae06cf7c5341e7e81f08f13"},"description":"Debugging WebRTC? Ever wanted a bit more visibility into the flow of a WebRTC call? Or see exactly what PeerConnection API calls were made and when?","breadcrumb":{"@id":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#primaryimage","url":"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1.jpeg","contentUrl":"https:\/\/blog.mozilla.org\/webrtc\/files\/2018\/07\/pic1.jpeg","width":"1890","height":"854","caption":"WebRTC details"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.mozilla.org\/webrtc\/new-tool-debugging-webrtc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.mozilla.org\/webrtc\/"},{"@type":"ListItem","position":2,"name":"New Tool for Debugging WebRTC"}]},{"@type":"WebSite","@id":"https:\/\/blog.mozilla.org\/webrtc\/#website","url":"https:\/\/blog.mozilla.org\/webrtc\/","name":"Advancing WebRTC","description":"Committed to moving Firefox and WebRTC forward","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.mozilla.org\/webrtc\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.mozilla.org\/webrtc\/#\/schema\/person\/0abaf725fae06cf7c5341e7e81f08f13","name":"Michael Froman","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.mozilla.org\/webrtc\/#\/schema\/person\/image\/801649166fafbde0a9e04f3b796f332b","url":"https:\/\/secure.gravatar.com\/avatar\/e2a2be17b9bb8a1d4d7427c810996388?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e2a2be17b9bb8a1d4d7427c810996388?s=96&d=mm&r=g","caption":"Michael Froman"},"description":"crossing IP communication streams since 2005","url":"https:\/\/blog.mozilla.org\/webrtc\/author\/mfromanmozilla-com\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/posts\/366"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/users\/1397"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/comments?post=366"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/posts\/366\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/media?parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/categories?post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/tags?post=366"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blog.mozilla.org\/webrtc\/wp-json\/wp\/v2\/coauthors?post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}