Skip to content

Telnyx Android Video SDK - Enables real-time video and audio communication with WebRTC and Telnyx

Notifications You must be signed in to change notification settings

team-telnyx/telnyx-video-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telnyx-video-android

Adding Telnyx to your Android client application

  1. Add Jitpack.io as a repository within your root level build file:
allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
  1. Add the dependency within the app level build file:
dependencies {
		implementation ('com.github.team-telnyx:telnyx-meet-android-sdk:0.3.1@aar'){transitive=true}
	}

Note that '0.2.3' should be replaced with the newest version represented by the Jitpack badge

Tag should be replaced with the release version.

Then, import the TelnyxVideo SDK into your application code at the top of the class:

import com.telnyx.video.sdk.*

The ‘*’ symbol will import the whole SDK which will then be available for use within that class.

NOTE: Remember to add and handle INTERNET, RECORD_AUDIO and ACCESS_NETWORK_STATE permissions in order to properly use the SDK

    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.CAMERA"/>
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>