dyte-io / flutter-samples

0 stars 2 forks source link

Dyte Flutter Samples

Contents

  1. Introduction
  2. About This Repository
  3. Usage
  4. Trying out a sample

Introduction

Create immersive live experiences with everything you need - audio/video conferencing, live streaming, and chat - all packed into a single SDK.

About This Repository

This repository consists of all the different ways in which you can use Dyte's Flutter SDK and other packages to its full extent to get the best live audio/video experience.

Samples

Here are the list of available samples at the moment.

  1. Flutter Core Sample
  2. Flutter UI kit sample

Usage

To use these samples you would need to do the following steps:

First, you'll need to create a meeting and add a participant to that meeting.

You can do so by going to https://docs.dyte.io/api?v=v2 and run the APIs in the API runner itself so you can quickly get started.

Make sure you've created your Dyte account at https://dev.dyte.io and have your Organization ID and API Key ready to use from the API Keys section.

  1. Go to Create Meeting API and add your credentials and run the API with your request body, note the id you receive in resonse, this is the meeting id.
  2. Go to Add Participant API and add a participant to the meeting with the meetingId you received in previous API call.

Once you're done, you'll get an authToken, which you can use in a sample as explained below.

Trying out a sample

Here are steps to try out the samples:

  1. Clone the repo:
git clone git@github.com:dyte-io/flutter-samples.git
  1. Open the project in your Android Studio and paste your authToken in MeetingConfig file and run the app