- Add Jitpack.io as a repository within your root level build file:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- 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"/>