{"id":7573,"date":"2023-01-12T15:09:51","date_gmt":"2023-01-12T09:39:51","guid":{"rendered":"https:\/\/innovationm.co\/?p=7573"},"modified":"2023-01-12T15:09:51","modified_gmt":"2023-01-12T09:39:51","slug":"hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/","title":{"rendered":"Create Video calls and screen sharing using WebRTC"},"content":{"rendered":"<p>Hi there, today we are creating a video call app using webRtc, firebase, and react.js.<\/p>\n<p>You can also test code available here -&gt; <a href=\"https:\/\/github.com\/Tejendrasrajawat\/webRtc\">Github<\/a><\/p>\n<h2><strong>1. Create Room -&gt;<\/strong><\/h2>\n<p>First, create a real-time database in firebase and create a room Id using URL params, a randomly created key in the firebase database.<\/p>\n<pre>\/\/ reference of RD\r\n\r\nlet RD = firebase.database().ref();\r\n\r\n\/\/ url params\r\n\r\nconst URLPARAMS = new URLSearchParams(window.location.search);\r\n\r\n\/\/ get id from url\r\n\r\nconst roomId = URLPARAMS.get(\"id\");\r\n\r\n\r\n\r\n\r\nif (roomId) {\r\n\r\n\u00a0 \/\/ set room id as child\r\n\r\n\u00a0 RD = RD.child(roomId);\r\n\r\n} else {\r\n\r\n\u00a0 \/\/ create id and set to roomid\r\n\r\n\u00a0 RD = RD.push();\r\n\r\n\u00a0 window.history.replaceState(null, \"meet\", \"?id=\" + RD.key);\r\n\r\n}\r\n\r\n\r\n<\/pre>\n<h2><strong>2. create participant object &#8211;<\/strong><\/h2>\n<p>now we will create an object participant in our room Id which contains audio, video, and screen share information. It will look like this &#8211;<\/p>\n<p>To get this output, we will do as follow, you can get userName as a string or get it dynamically too.<\/p>\n<pre>const participantDb = RD.child(\"participant\");\r\n\r\n\u00a0 useEffect(() =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 \/\/check for value if true\r\n\r\n\u00a0\u00a0\u00a0 connectedRef.on(\"value\", (snap) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 if (snap.val()) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ create values to push\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 const defaultPref = {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 audio: true,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 video: false,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 screen: false,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 };<\/pre>\n<p>&nbsp;<\/p>\n<pre>\u00a0\u00a0\u00a0 \/\/ push data to participant\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 const pushedDataOfParticipant = participantDb.push({\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 userName: 'tejendra',\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 preference: defaultPref,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 });\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/\/ remove user when he quit or close browser\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 pushedDataOfParticipant.onDisconnect().remove();\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0\u00a0\u00a0 });\r\n\r\n\u00a0 }, []);\r\n\r\n\r\n<\/pre>\n<h2><strong>3. Peer Connection &#8211;<\/strong><\/h2>\n<p>Now the most important part of webrtc is creating peer-to-peer connections so we can improve communication in realtime, for that we need to follow the below image.<\/p>\n<p>For signaling, we are using firebase.<\/p>\n<p>The first user will create an offer for others to join and when someone joins then one answer will be created and they will communicate using signaling.<\/p>\n<ol>\n<li>create offer &#8211;<\/li>\n<\/ol>\n<pre>export const createOffer = async (peerConnection, receiverId, createdID) =&gt; {\r\n\r\n\u00a0 const currentParticipantRef = participantRef.child(receiverId);\r\n\r\n\u00a0 peerConnection.onicecandidate = (event) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 event.candidate &amp;&amp;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 currentParticipantRef\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 .child(\"offerCandidates\")\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 .push({ ...event.candidate.toJSON(), userId: createdID });\r\n\r\n\u00a0 };<\/pre>\n<p>&nbsp;<\/p>\n<pre>\u00a0 const offerDescription = await peerConnection.createOffer();\r\n\r\n\u00a0 await peerConnection.setLocalDescription(offerDescription);\r\n\r\n\r\n\r\n\r\n\u00a0 const offer = {\r\n\r\n\u00a0\u00a0\u00a0 sdp: offerDescription.sdp,\r\n\r\n\u00a0\u00a0\u00a0 type: offerDescription.type,\r\n\r\n\u00a0\u00a0\u00a0 userId: createdID,\r\n\r\n\u00a0 };\r\n\r\n\r\n\r\n\r\n\u00a0 await currentParticipantRef.child(\"offers\").push().set({ offer });\r\n\r\n};\r\n\r\n\r\n\r\n\r\nexport const initializeListensers = async (userId) =&gt; {\r\n\r\n\u00a0 const currentUserRef = participantRef.child(userId);\r\n\r\n\r\n\r\n\r\n\u00a0 currentUserRef.child(\"offers\").on(\"child_added\", async (snapshot) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 const data = snapshot.val();\r\n\r\n\u00a0\u00a0\u00a0 if (data?.offer) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 const pc =\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 store.getState().participants[data.offer.userId].peerConnection;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 await pc.setRemoteDescription(new RTCSessionDescription(data.offer));\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 await createAnswer(data.offer.userId, userId);\r\n\r\n\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0 });<\/pre>\n<p>&nbsp;<\/p>\n<pre>\u00a0 currentUserRef.child(\"offerCandidates\").on(\"child_added\", (snapshot) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 const data = snapshot.val();\r\n\r\n\u00a0\u00a0\u00a0 if (data.userId) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 const pc = store.getState().participants[data.userId].peerConnection;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 pc.addIceCandidate(new RTCIceCandidate(data));\r\n\r\n\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0 });<\/pre>\n<p>&nbsp;<\/p>\n<pre>\u00a0 currentUserRef.child(\"answers\").on(\"child_added\", (snapshot) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 const data = snapshot.val();\r\n\r\n\u00a0\u00a0\u00a0 if (data?.answer) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 const pc =\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 store.getState().participants[data.answer.userId].peerConnection;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 const answerDescription = new RTCSessionDescription(data.answer);\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 pc.setRemoteDescription(answerDescription);\r\n\r\n\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0 });<\/pre>\n<p>&nbsp;<\/p>\n<pre>\u00a0 currentUserRef.child(\"answerCandidates\").on(\"child_added\", (snapshot) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 const data = snapshot.val();\r\n\r\n\u00a0\u00a0\u00a0 if (data.userId) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 const pc = store.getState().participants[data.userId].peerConnection;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 pc.addIceCandidate(new RTCIceCandidate(data));\r\n\r\n\u00a0\u00a0\u00a0 }\r\n\r\n\u00a0 });\r\n\r\n};\r\n\r\n\r\n<\/pre>\n<ol>\n<li>create answer &#8211;<\/li>\n<\/ol>\n<pre>const createAnswer = async (otherUserId, userId) =&gt; {\r\n\r\n\u00a0 const pc = store.getState().participants[otherUserId].peerConnection;\r\n\r\n\u00a0 const participantRef1 = participantRef.child(otherUserId);\r\n\r\n\u00a0 pc.onicecandidate = (event) =&gt; {\r\n\r\n\u00a0\u00a0\u00a0 event.candidate &amp;&amp;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 participantRef1\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 .child(\"answerCandidates\")\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 .push({ ...event.candidate.toJSON(), userId: userId });\r\n\r\n\u00a0 };\r\n\r\n\r\n<\/pre>\n<pre>\u00a0 const answerDescription = await pc.createAnswer();\r\n\r\n\u00a0 await pc.setLocalDescription(answerDescription);\r\n\r\n\r\n\r\n\r\n\u00a0 const answer = {\r\n\r\n\u00a0\u00a0\u00a0 type: answerDescription.type,\r\n\r\n\u00a0\u00a0\u00a0 sdp: answerDescription.sdp,\r\n\r\n\u00a0\u00a0\u00a0 userId: userId,\r\n\r\n\u00a0 };<\/pre>\n<p>&nbsp;<\/p>\n<pre>\u00a0 await participantRef1.child(\"answers\").push().set({ answer });\r\n\r\n};<\/pre>\n<p>&nbsp;<\/p>\n<p>That&#8217;s it, now you can create a simple UI component and start a real-time chat with audio, video, and screen share.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi there, today we are creating a video call app using webRtc, firebase, and react.js. You can also test code available here -&gt; Github 1. Create Room -&gt; First, create a real-time database in firebase and create a room Id using URL params, a randomly created key in the firebase database. \/\/ reference of RD [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[257,412,102,258],"tags":[722,825,824,823],"class_list":["post-7573","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-react","category-react-native","category-web-service","category-web-technology","tag-blog","tag-screen-sharing-app","tag-video-call","tag-webrtc"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create Video calls and screen sharing using WebRTC -<\/title>\n<meta name=\"description\" content=\"Hi there, today we are creating a video call app using webRtc, firebase, and react.js.You can also test code available here\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Video calls and screen sharing using WebRTC -\" \/>\n<meta property=\"og:description\" content=\"Hi there, today we are creating a video call app using webRtc, firebase, and react.js.You can also test code available here\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-12T09:39:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2023\/01\/Webrtc.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1689\" \/>\n\t<meta property=\"og:image:height\" content=\"950\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"Create Video calls and screen sharing using WebRTC\",\"datePublished\":\"2023-01-12T09:39:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/\"},\"wordCount\":209,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Webrtc.png\",\"keywords\":[\"blog\",\"screen sharing app\",\"video call\",\"webrtc\"],\"articleSection\":[\"React\",\"React Native\",\"Web service\",\"Web Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/\",\"name\":\"Create Video calls and screen sharing using WebRTC -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Webrtc.png\",\"datePublished\":\"2023-01-12T09:39:51+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"description\":\"Hi there, today we are creating a video call app using webRtc, firebase, and react.js.You can also test code available here\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Webrtc.png\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/Webrtc.png\",\"width\":1689,\"height\":950},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Video calls and screen sharing using WebRTC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create Video calls and screen sharing using WebRTC -","description":"Hi there, today we are creating a video call app using webRtc, firebase, and react.js.You can also test code available here","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:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/","og_locale":"en_US","og_type":"article","og_title":"Create Video calls and screen sharing using WebRTC -","og_description":"Hi there, today we are creating a video call app using webRtc, firebase, and react.js.You can also test code available here","og_url":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/","og_site_name":"InnovationM - Blog","article_published_time":"2023-01-12T09:39:51+00:00","og_image":[{"width":1689,"height":950,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2023\/01\/Webrtc.png","type":"image\/png"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"Create Video calls and screen sharing using WebRTC","datePublished":"2023-01-12T09:39:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/"},"wordCount":209,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2023\/01\/Webrtc.png","keywords":["blog","screen sharing app","video call","webrtc"],"articleSection":["React","React Native","Web service","Web Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/","url":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/","name":"Create Video calls and screen sharing using WebRTC -","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2023\/01\/Webrtc.png","datePublished":"2023-01-12T09:39:51+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"description":"Hi there, today we are creating a video call app using webRtc, firebase, and react.js.You can also test code available here","breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2023\/01\/Webrtc.png","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2023\/01\/Webrtc.png","width":1689,"height":950},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/hi-there-today-we-are-creating-a-video-call-app-using-webrtc-firebase-and\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create Video calls and screen sharing using WebRTC"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/7573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=7573"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/7573\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/7574"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=7573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=7573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=7573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}