This is VideoSDK RTC example code for flutter.
-
There are 2 options Option 1: Get Auth Token from VideoSDK Dashboard Option 2: Setting up Auth Server Instructions
-
Clone the repo
$ git clone https://github.com/videosdk-live/videosdk-rtc-flutter-sdk-example.git
-
Copy the
.env.example
file to.env
file.$ cp .env.example .env
-
Either update
AUTH_TOKEN
orAUTH_URL
in the.env
file.AUTH_TOKEN=#YOUR_GENERATED_TOKEN
OR
AUTH_URL=#YOUR_AUTH_SERVER_URL
-
Install pub
$ flutter pub get
-
Run the app
$ flutter run
Related