{"id":3711,"date":"2021-09-28T19:23:23","date_gmt":"2021-09-28T11:23:23","guid":{"rendered":"https:\/\/www.enablex.io\/developer\/?page_id=3711"},"modified":"2025-02-20T20:43:03","modified_gmt":"2025-02-20T12:43:03","slug":"video-api","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video-api\/","title":{"rendered":"Video API"},"content":{"rendered":"\n<h4> Table of Contents<\/h4>\n\n\n\n<ul><li><a href=\"#new-features\">New Features<\/a><\/li><li><a href=\"#improvements\">Improvements<\/a><\/li><li><a href=\".\/server-api\/\">Video API<\/a><ul><li><a href=\".\/server-api\/rooms-route\/\">Room Management<\/a><\/li><li><a href=\".\/server-api\/cdr-route\/\">Call Detail Reports<\/a><\/li><li><a href=\".\/server-api\/archive-route\/\">Archive Reports<\/a><\/li><li><a href=\".\/server-api\/result-codes\/\">Result Codes<\/a><\/li><\/ul><\/li><li><a href=\".\/client-api\/\">Client API<\/a><ul><li><a href=\".\/client-api\/web-toolkit\/\">Web SDK<\/a><\/li><li><a href=\".\/client-api\/android-toolkit\/\">Android SDK<\/a><\/li><li><a href=\".\/client-api\/ios-toolkit\/\">iOS SDK<\/a><\/li><li><a href=\".\/client-api\/react-native-toolkit\/\">React Native SDK<\/a><\/li><li><a href=\".\/client-api\/appendix\/\">Appendix<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<a name=\"new-features\"><\/a>\n\n\n\n<h2>New Features<\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Speaker Device Selection<\/h3>\n\n\n\n<p>Portal introduces Speaker Device Selection API in its Web SDK for supported browsers only. Few existing APIs are modified to support Speaker or Audio-Out Device configuration.  <\/p>\n\n\n\n<p>Refer the following sections to know details of new and updated APIs:<\/p>\n\n\n\n<ul><li><a href=\"..\/get-devices\">Select Speaker Device<\/a><\/li><li>Use Speaker Device<ul><li><a href=\"..\/room-connection\/#init-room\">To initiate Room<\/a><\/li><li><a href=\"..\/room-connection\/#join-room\">To join Room<\/a><\/li><\/ul><\/li><li><a href=\"..\/switch-camera-mic-speaker\/#switch-speaker\">Switch to another Speaker Device<\/a><\/li><\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Live Media Statistics<\/h3>\n\n\n\n<p>Portal provides live Media Statistical Data to an end-point. Developer may opt to receive statistics as JSON along with an Event or get overlay with Statistical Data on each Video Player.  <a href=\"..\/live-media-statistics\">Read more&#8230;<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>In-Session Live Transcoding<\/h3>\n\n\n\n<p>To address immediate transcoding requirement for some use cases with two party call where one joins with Audio+Video and other joins with Audio only, Portal now does live-transcoding of 2 streams to provide single <em>.webm<\/em> file immediately at end of session. You need to define room with <code>single_file_recording:true<\/code>. <a href=\".\/server-api\/rooms-route\/#create-room\">Read more&#8230;<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Media Zone Selection for a Room<\/h3>\n\n\n\n<p>A Session is hosted in any available Media Zone within portal Cluster which is decided at run-time while assigning resources for a Session. Portal now provides control to the Developers to choose a suitable Media Zone for a Session among available list of Zones.  <a href=\".\/server-api\/rooms-route\/#create-room\">Read more&#8230;<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Use Front Facing Camera<\/h3>\n\n\n\n<p>Web Application used on Mobile Browser generally uses Back Side Camera of the Device. A&nbsp;<code>facingMode&nbsp;<\/code>option helps to use the Front Camera in Mobility Browser.&nbsp;<a href=\"..\/local-stream\/#init-stream-specific-device\">Read more\u2026<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Break-Out Room<\/h3>\n\n\n\n<p>Portal introduces Break-Out Room feature where one or more users in a Video Session move out to a Break-Out Room for discussion aside and then they join back.\u00a0<a href=\"..\/break-out-room\/\">Read more\u2026<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Moderated Entry to a Room for Participants<\/h3>\n\n\n\n<p>Portal introduces Moderated entry to a Room for Participants through Room Settings called \u201cknock\u201d. In knock enabled rooms, participants are awaited and host is notified about the awaited user. Moderator decides whether to allow or deny entry for the awaited participants through respective Method Call.\u00a0<a href=\"..\/room-entry-restriction\/#allow-deny-room-entry\">Read more\u2026<\/a><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3>Participants wait for Moderator to join first<\/h3>\n\n\n\n<p>A Host now may now force all Participants to wait for him to join first. Until then, no one sees or communicates with others. This is achieved through Room Settings called \u201cwait-for-moderator\u201d. When moderator joins, all awaited participants automatically joins too. Subsequently all new participants joins automatically without having to wait.&nbsp;<a href=\".\/server-api\/rooms-route\/#create-room\">Read more\u2026<\/a><\/p>\n\n\n\n<a name=\"improvements\"><\/a>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2>Improvements<\/h2>\n\n\n\n<p> v1.9+ comes with long list of improvements: <\/p>\n\n\n\n<ul><li><strong>Low Bandwidth Signaling<\/strong>: Portal has improved significantly to handle Low Bandwidth Signaling and Connection.<\/li><li><strong>Audio Iceland Issue:\u00a0<\/strong>Added few fixes for Audio Iceland Issue.<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Table of Contents New Features Improvements Video API Room Management Call Detail Reports Archive Reports Result Codes Client API Web SDK Android SDK iOS SDK React Native SDK Appendix New Features Speaker Device Selection Portal introduces Speaker Device Selection API in its Web SDK for supported browsers only. Few existing APIs are modified to support Speaker or Audio-Out Device configuration. Refer the following sections to know details of new and&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"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":"Table of Contents New Features Improvements Video API Room Management Call Detail Reports Archive Reports Result Codes Client API Web SDK Android SDK iOS SDK React Native SDK Appendix New Features Speaker Device Selection Portal introduces Speaker Device Selection API in its Web SDK for supported browsers only. Few existing APIs are modified to support&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3711"}],"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=3711"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3711\/revisions"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=3711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}