Skip to content

A video chat application built with the 100ms Video Android SDK

Notifications You must be signed in to change notification settings

amit-100ms/hmsvideo-android

 
 

Repository files navigation

100 ms - Android Sample Application

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.

Pre requisites

  • 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

Supported Devices

The Android SDK supports Android API level 21 and higher. It is built for armeabi-v7a, arm64-v8a, x86, and x86_64 architectures.

Quick start to run the sample application

  • 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 in app/gradle.properties. Make sure it has the /?api=token suffix. For example:

    TOKEN_ENDPOINT="https://example-tokenservice.runkit.sh/?api=token"

Run the application

Run using Emulator

Follow the official guide at developers.android.com to download and deploying app in a emulator.

Run on Device (recommended)

Follow the official guide at developers.android.com to setup your mobile device for development.

Layout

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!

Create a Room

Follow the create-room guide in 100ms GitBook.

app

100ms SDK Documentation

Refer the Getting Started - Android guide in 100ms Gitbook.

About

A video chat application built with the 100ms Video Android SDK

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%