<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Somik Datta</title>
    <description>The latest articles on Forem by Somik Datta (@somikdatta).</description>
    <link>https://forem.com/somikdatta</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F449947%2F9cf2885d-62cc-4151-ab6c-d61a87084066.jpeg</url>
      <title>Forem: Somik Datta</title>
      <link>https://forem.com/somikdatta</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/somikdatta"/>
    <language>en</language>
    <item>
      <title>Video Calling and Screen Sharing with React, WebRTC</title>
      <dc:creator>Somik Datta</dc:creator>
      <pubDate>Thu, 20 Aug 2020 13:09:51 +0000</pubDate>
      <link>https://forem.com/somikdatta/video-calling-and-screen-sharing-with-react-webrtc-146a</link>
      <guid>https://forem.com/somikdatta/video-calling-and-screen-sharing-with-react-webrtc-146a</guid>
      <description>&lt;p&gt;With the advent of a huge push in video calling technologies due to Covid-19, I started growing ever so curious about how all of it works. As I looked more and more into it, I discovered a lot, learned a lot and wanted to build an application for myself!&lt;/p&gt;

&lt;p&gt;May I present to you &lt;strong&gt;Cuckoo: Free and anonymous video calling&lt;/strong&gt; &lt;br&gt;
&lt;em&gt;drumrolls&lt;/em&gt; please 😂&lt;/p&gt;
&lt;h2&gt;
  
  
  Technologies used:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.webrtc.org" rel="noopener noreferrer"&gt;WebRTC&lt;/a&gt;- facilitates real time data communication between two peers. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.npmjs.com/package/simple-peer" rel="noopener noreferrer"&gt;simple-peer&lt;/a&gt;- Simple-peer library acts as a wrapper over WebRTC and makes it simpler.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.socket.io" rel="noopener noreferrer"&gt;socket-io&lt;/a&gt; as a wrapper over web sockets.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Audio call&lt;/li&gt;
&lt;li&gt;Video call&lt;/li&gt;
&lt;li&gt;Screen sharing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try it live: &lt;a href="https://cuckooapp.herokuapp.com" rel="noopener noreferrer"&gt;live demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This project is available at GitHub - &lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/somikdatta" rel="noopener noreferrer"&gt;
        somikdatta
      &lt;/a&gt; / &lt;a href="https://github.com/somikdatta/cuckoo" rel="noopener noreferrer"&gt;
        cuckoo
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🎥 Cuckoo - A free anonymous video-calling web application built with WebRTC and React that provides peer-to-peer video and audio communication in a web browser with no plugins or extensions required.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div&gt;
&lt;a href="https://cuckooapp.herokuapp.com" rel="nofollow noopener noreferrer"&gt;
  &lt;img alt="Cuckoo" src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fsomikdatta%2Fcuckoo.%2Fclient%2Fsrc%2FIcons%2Fcuckoo-logo.svg" width="60"&gt;
&lt;/a&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Cuckoo - Anonymous, Free Video Calls&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Anonymous video calls across the world for free with screensharing!&lt;/p&gt;
&lt;a href="https://github.com/somikdatta/cuckoo/fork" rel="noopener noreferrer"&gt;
&lt;img src="https://camo.githubusercontent.com/dbe2015a78d4c174aac588a095588acc572eb99a107025bfa53dc3982c16a809/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f736f6d696b64617474612f6375636b6f6f3f7374796c653d666f722d7468652d6261646765" alt="cuckoo forks"&gt;
&lt;/a&gt;
&lt;a href="https://github.com/somikdatta/cuckoo/stargazers" rel="noopener noreferrer"&gt;
&lt;img src="https://camo.githubusercontent.com/23503391acab1bd6579f39e90c993d958ff5981349eef38f4fd5d8c6bf9f3e48/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f736f6d696b64617474612f6375636b6f6f3f7374796c653d666f722d7468652d6261646765" alt="cuckoo stars"&gt;
&lt;/a&gt;
&lt;a href="https://github.com/somikdatta/cuckoo/issues" rel="noopener noreferrer"&gt;
&lt;img src="https://camo.githubusercontent.com/e9995fd46a758f14baca6e2ef43ff599c90fd406ca52a2d93059b94920d27433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736f6d696b64617474612f6375636b6f6f3f7374796c653d666f722d7468652d6261646765" alt="cuckoo issues"&gt;
&lt;/a&gt;
&lt;a href="https://github.com/somikdatta/cuckoo/pulls" rel="noopener noreferrer"&gt;
&lt;img src="https://camo.githubusercontent.com/39cfa7686156df725f2316ff214004fe7f2cf663db5a590130ec72959de7b334/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f736f6d696b64617474612f6375636b6f6f3f7374796c653d666f722d7468652d6261646765" alt="cuckoo pull-requests"&gt;
&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;&lt;a href="https://cuckooapp.herokuapp.com/" rel="nofollow noopener noreferrer"&gt;View Cuckoo&lt;/a&gt; · &lt;a href="https://github.com/somikdatta/cuckoo/issues/new/choose" rel="noopener noreferrer"&gt;Report Bug&lt;/a&gt; · &lt;a href="https://github.com/somikdatta/cuckoo/issues/new/choose" rel="noopener noreferrer"&gt;Request Feature&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;✨ &lt;em&gt;Loved the project? Give this project a star to show your support.&lt;/em&gt; ✨&lt;/p&gt;
&lt;a rel="noopener noreferrer" href="https://github.com/somikdatta/cuckoo./demo.gif"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgithub.com%2Fsomikdatta%2Fcuckoo.%2Fdemo.gif"&gt;&lt;/a&gt;
&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Cuckoo is a small project to demonstrate the concepts of WebRTC, WebSockets by facilitating video calls across the web!&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🧐 Feature list&lt;/h2&gt;
&lt;/div&gt;
&lt;ul class="contains-task-list"&gt;
&lt;li class="task-list-item"&gt;
 Video Call&lt;/li&gt;
&lt;li class="task-list-item"&gt;
 Screen Sharing&lt;/li&gt;
&lt;li class="task-list-item"&gt;
 Select camera&lt;/li&gt;
&lt;li class="task-list-item"&gt;
 Select audio device&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🚀 Getting started&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;This project is deployed at &lt;a href="https://cuckooapp.herokuapp.com" rel="nofollow noopener noreferrer"&gt;https://cuckooapp.herokuapp.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Guide for local deployment -&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Clone the repository&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;git clone https://github.com/somikdatta/cuckoo.git&lt;/pre&gt;

&lt;/div&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Change the working directory&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c1"&gt;cd&lt;/span&gt; cuckoo&lt;/pre&gt;

&lt;/div&gt;
&lt;ol start="3"&gt;
&lt;li&gt;Install dependencies&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm install&lt;/pre&gt;

&lt;/div&gt;
&lt;ol start="4"&gt;
&lt;li&gt;Change the working directory&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c1"&gt;cd&lt;/span&gt; client&lt;/pre&gt;

&lt;/div&gt;
&lt;ol start="5"&gt;
&lt;li&gt;Install dependencies&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;yarn install&lt;/pre&gt;

&lt;/div&gt;
&lt;ol start="6"&gt;
&lt;li&gt;Run the app&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm start &lt;span class="pl-k"&gt;in&lt;/span&gt; parent directory /cuckoo&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;yarn start &lt;span class="pl-k"&gt;in&lt;/span&gt; directory /cuckoo/client&lt;/pre&gt;

&lt;/div&gt;
&lt;ol start="7"&gt;
&lt;li&gt;Open project at &lt;a href="http://localhost:3000" rel="nofollow noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;🌟 You are all set!&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🙇 Special Thanks&lt;/h2&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/coding-with-chaim/" rel="noopener noreferrer"&gt;Coding with Chaim&lt;/a&gt; for explaining the concepts of WebSockets and WebRTC on his &lt;a href="https://www.youtube.com/channel/UC7sCgeZ9xOwCGHIp2mVWlUQ" rel="nofollow noopener noreferrer"&gt;YouTube Channel&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;…&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/somikdatta/cuckoo" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Try it if you find it interesting!&lt;/p&gt;

&lt;p&gt;If you liked what I made, &lt;strong&gt;please consider leaving a star ⭐ on the &lt;a href="https://github.com/somikdatta/cuckoo" rel="noopener noreferrer"&gt;GitHub repo&lt;/a&gt; to keep me motivated for better projects&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>react</category>
      <category>webdev</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
