com.pexip.sdk:sdk-media-webrtc

WebRTC-based implementation of sdk-media.


Keywords
android, kotlin, sdk
License
Apache-2.0

Documentation

Pexip Android SDK

main

Pexip Android SDK is a collection of libraries for self-hosted Pexip Infinity installations that enables customers to build bespoke applications for Android or add Pexip to existing mobile experiences and workflows.

Using in your projects

Gradle

Make sure that you have mavenCentral() in the list of repositories:

repositories {
    mavenCentral()
}

And add modules that you need:

dependencies {
    // A fluent wrapper for Infinity Client REST API
    implementation("com.pexip.sdk:sdk-api:0.15.0")
    // A set of tools for interacting with an Infinity conference
    implementation("com.pexip.sdk:sdk-conference:0.15.0")
    // A set of tools for interacting with an Infinity registration
    implementation("com.pexip.sdk:sdk-registration:0.15.0")
    // A `MediaConnection` implementation build on top of WebRTC
    implementation("com.pexip.sdk:sdk-media-webrtc:0.15.0")
    // A composable that wraps SurfaceViewRenderer
    implementation("com.pexip.sdk:sdk-media-webrtc-compose:0.15.0")
}

We also publish a Version Catalog that can be consumed as follows:

// settings.gradle.kts
enableFeaturePreview("VERSION_CATALOGS")

dependencyResolutionManagement {
    repositories {
        mavenCentral()
    }
    versionCatalogs {
        register("pexipSdk") {
            from("com.pexip.sdk:sdk-catalog:0.15.0")
        }
    }
}
// build.gradle.kts
dependencies {
    implementation(pexipSdk.api.infinity)
}

Snapshot builds are also available and can be configured as follows:

repositories {
    maven {
        url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
        mavenContent {
            snapshotsOnly()
        }
    }
}

Requirements

  • JDK 11
  • Android SDK 21+
  • Pexip Infinity 29+

Android Java API desugaring

This library uses types from java.time.* and thus requires the projects to have a minSdk that has these APIs available or use library desugaring.

WebRTC versions

SDK version WebRTC Milestone
0.14.0+ 119
0.13.0+ 114
0.12.0+ 110
0.10.0+ 104
0.7.0+ 102
0.1.0+ 96

Documentation