{"id":4702,"date":"2021-12-03T19:23:11","date_gmt":"2021-12-03T11:23:11","guid":{"rendered":"https:\/\/www.enablex.io\/developer\/?page_id=4702"},"modified":"2022-04-08T18:40:04","modified_gmt":"2022-04-08T10:40:04","slug":"live-media-statistics","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video-api\/client-api\/flutter-toolkit\/live-media-statistics\/","title":{"rendered":"Live Media Statistics: Flutter SDK &#8211; Video API"},"content":{"rendered":"\n<p>For debugging purposes, you can get live statistics of each stream you are playing at any end-point, be it a local stream or subscribed stream. The following information for each stream is displayed using a Overlay over respective player:<\/p>\n\n\n\n<ul><li>For Local Streams<ul><li><em>Transmission Bandwidth<\/em><\/li><li><em>Video Resolution<\/em> <\/li><\/ul><\/li><li>For Subscribed Streams<ul><li><em>Receiving Bandwidth<\/em><\/li><li><em>Video Resolution<\/em><\/li><li><em>Available Bandwidth for Remote User<\/em><\/li><li><em>Packet Loss<\/em><\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>Method<\/strong>: <code>static Future&lt;void&gt; enableStats (bool enableStats)<\/code><\/p>\n\n\n\n<p><strong>Parameters: <\/strong><\/p>\n\n\n\n<ul><li><code>@param bool enableStats<\/code>:  Boolean. Use <em>true<\/em> to enable Statistics display,  <em>false<\/em> to disable. <\/li><\/ul>\n\n\n\n<p><strong>Event Listeners:<\/strong><\/p>\n\n\n\n<ul><li><code>onAcknowledgeStats<\/code> &#8211; It notifies user that webRTC stats are enabled successfully<\/li><li><code>onReceivedStats<\/code> &#8211; It notifies all the webRTC stats received<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">EnxRtc.enableStats(true);\t\/\/ Enable Stats\n\nEnxRtc.onAcknowledgeStats = (Map&lt;dynamic,dynamic&gt; map) {\n};\n\nEnxRtc. onReceivedStats = (Map&lt;dynamic,dynamic&gt; map) {\n};<\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>\u2190 <a href=\"..\/floor-access-control\/\">Lecture Mode<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"has-text-align-center\"><a href=\"..\/\">Index<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"has-text-align-right\"><a href=\"..\/talker-noise-notification\/\"><\/a><a href=\"..\/talker-noise-notification\/\">Get Talker Notification<\/a> \u2192<a href=\"\/developer\/how-to-use\/\"><\/a><\/p>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For debugging purposes, you can get live statistics of each stream you are playing at any end-point, be it a local stream or subscribed stream. The following information for each stream is displayed using a Overlay over respective player: For Local Streams Transmission Bandwidth Video Resolution For Subscribed Streams Receiving Bandwidth Video Resolution Available Bandwidth for Remote User Packet Loss Method: static Future&lt;void&gt; enableStats (bool enableStats) Parameters: @param bool enableStats:&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3755,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"featured_image_src":null,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"featured":false,"featured-large":false},"uagb_author_info":{"display_name":"vcxdevwpadmin","author_link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/author\/vcxdevwpadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"For debugging purposes, you can get live statistics of each stream you are playing at any end-point, be it a local stream or subscribed stream. The following information for each stream is displayed using a Overlay over respective player: For Local Streams Transmission Bandwidth Video Resolution For Subscribed Streams Receiving Bandwidth Video Resolution Available Bandwidth&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/4702"}],"collection":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/comments?post=4702"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/4702\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3755"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=4702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}