Skip to content

team-telnyx/telnyx-meet-android

Repository files navigation

Qodana

Telnyx Meet Android App

This application demonstrates multi-party voice and video built with Telnyx Android Video SDK.

screenshot

Features

  • Video conferencing with real-time video and audio
  • Enable/disable camera
  • Switch between front and back camera
  • Mute/unmute mic
  • Select audio source
  • Speaker indicator
  • Audio censored indicator
  • TextChat capabilities

Requirements

Android Studio Version Android API Version Min
3.5+ 23

Getting Started

In order to run this application on an Android device or emulator, complete the following steps. More info regarding VideoRooms

  1. Sign up for a Telnyx Account
  2. Create an API KEY
  3. Create a Room ID
  4. Clone code and open in Android Studio
  5. Setup environment variables
  6. Run the app

Step 1: Sign Up for a Telnyx Mission Control Portal Account

Head to telnyx.com/sign-up to sign up for your free Telnyx account.

Once signed up you will have access to Telnyx Portal, where you can set up and manage your API KEY, and more.

Step 2: Create an API KEY

Go to API Keys section and click on Create API Key button. It will generate a key for you. Copy and save this key in a safe place and don't share it with anyone it is a sensitive value.

You need this API Key to consume the API https://api.telnyx.com/v2/rooms to manage your room ids.

api-key

Step 3: Create a Room ID

You should read this documentation video/Rooms to learn how to create a new video room id. When you get your roomId you can join in a video meet conference.

Step 4: Clone the code

  % git clone https://github.com/team-telnyx/telnyx-meet-android.git

Open code in Android Studio

Step 5: Setup environment variables

Inside telnyx/meet/di/NetworkModule class, modify provideApiKey() method to provide the API Key you retrieved on Step 2

@Module
@InstallIn(SingletonComponent::class)
object NetworkModule {
...
...
@Provides
    @ApiKey
    fun provideApiKey() = "Bearer KEY017450AB72C...."

...
...

Step 6: Run the app

Install and run the app in an Android device or emulator. Fill the Room Id described on Step 3 and provide a local participant name (defaults to Android Participant)

Tests

Integration Tests

  • Android Studio - Right click and run unit tests on package src/androidTest/java/com/telnyx/meet/ui/ManageRoomDetailsActivityTest.kt

Related

Using Jetpack Compose?

Have a look at our Jetpack Compose reference application here

License

Apache 2.0 license. See LICENSE.txt for details.

Releases

No releases published

Packages

No packages published

Languages