DEV Community

Cover image for Getting started with Dyte - 1: Setting up Dyte
Karthic Rao
Karthic Rao

Posted on • Originally published at

Getting started with Dyte - 1: Setting up Dyte

Building audio, video apps with ease

View the video version of this blog at

What is Dyte?

Dyte is a SDK which provides the easiest way to add real-time communications using audio and video to your apps and platforms.


Real-time, fast communications

Dyte is blazingly fast.

Real-time, fast communications

Video capabilities to your mobile apps

Dyte enables you to build Video calling capabilities for mobile

Video apps

Video capabilities to your web apps

Dyte Enables you to build Video calling capabilities for Web

Video apps

Audio apps

Dyte offers audio capabilities too.

Audio apps

Web and mobile applications

Dyte can power both mobile and web applications

Web and mobile applications

How dyte works?

Dyte is based largely on the WebRTC protocol, and the features and optimisations we build on top of it.

WebRTC protocol

Although the protocol is supposed to be peer-to-peer, it is not easy to build it reliably.

 Peer-to-Peer Protocol

Anyone who has tried implementing it by themselves would know that the implementions get real messy, real fast.

Implementation can get messy

To have a real working solution, servers with SFU, STUN, TURN, etc capabilities.

Servers with SFU, STUN, TURN

This is required to optimize for user bandwidth.

Optimize user bandwidth

Also to optimize for performance.

Optimize performance


Here is the architecture of Dyte, and all the step that goes behind the scenes in setting up a meeting.


Using JS SDK


Here are the steps to initialise the Dyte JS SDK

  • Get meeting room name from the backend API
  • Get participant token form the backend API
  • Pass them as props to Dyte's React Component to initialize

Using JS React SDK

You can initialize a meeting in your React app, using this component, like below.

import { DyteMeeting } from "dyte-client";

function App() {
  return (
    <div className="App">
        onInit={(meeting) => {}}
        clientId={`orgId || clientId`}
          roomName: `roomName`,
          authToken: `authToken`,

export default App;
Enter fullscreen mode Exit fullscreen mode

Hope this Incredible post conveys what is Dyte, its features and how to integrate it into your applications.
To learn more about Dyte join their community using this link.

Top comments (0)