Here you will find everything you need to build experiences with video using 100ms Android SDK. Dive into our SDKs, quick starts, add real-time video, voice, and screen sharing to your web and mobile applications.
- Android Studio 2.0 or higher
- Support for Android API level 21 or higher
- Support for Java 8
- The sample application uses build tool version
30.0.1
The Android SDK supports Android API level 21 and higher. It is built for armeabi-v7a, arm64-v8a, x86, and x86_64 architectures.
-
Clone this repository
git clone --depth 1 https://github.com/100mslive/hmsvideo-android.git
-
Host your token generation service following this guide
-
Create
app/gradle.properties
cp app/gradle.properties.example app/gradle.properties
-
Put your endpoint URL as
TOKEN_ENDPOINT
inapp/gradle.properties
. Make sure it has the/?api=token
suffix. For example:TOKEN_ENDPOINT="https://example-tokenservice.runkit.sh/?api=token"
Follow the official guide at developers.android.com to download and deploying app in a emulator.
Follow the official guide at developers.android.com to setup your mobile device for development.
In the launch screen, here we need to mention three inputs.
1. Endpoint URL
2. Room ID
3. User Name
NOTE: Use the exact Room Id as obtained from the create-room
API
And then click Connect
.
On the first time of launch, user will be prompted with permissions. Then you are good to go to run the application.
Start the video conversation!
Follow the create-room guide in 100ms GitBook.
Refer the Getting Started - Android guide in 100ms Gitbook.