Kaltura SDK Integration Document
This document provides a step by step guide to integrate the Mediamelon SDK with the Kaltura Player 4.2.59
Step 1: Prerequisites
Step 2: Set up the build environment
Step 3: Include and Configure the MediaMelon Plugin
Step 1: Prerequisites
Kaltura Player Playtkit https://github.com/kaltura/playkit-android
MediaMelon Kaltura Player Plugin (com.github.MediamelonSDK:mm-KalturaPlayer:1.1.1)
IMADAISample from https://github.com/kaltura/playkit-android-samples/tree/develop/
Allsamples folder from https://github.com/kaltura/playkit-android-samples/tree/develop/AllSamples ( AllSamples folder and BasicPluginSetup need to be at the same level )
Step 2: Set up the build environment
The SDK files are added to the build environment and the required network permissions are enabled.
Copy mediamelonplugin-release.aar provided with the release package to the libs folder ( create one if its not already there ) in the BasicPluginsSetup project
Add the following library to
IMADAISample/app/build.gradle:-
dependencies {
.
.
.
//<!-- <MMSmartStreaming 1b> -->
implementation 'com.github.MediamelonSDK:mm-KalturaPlayer:1.1.1'
//<!-- </MMSmartStreaming 1b> -->
}Add network permissions to IMADAISample/app/manifests/AndroidManifest.xml
Step 3: Include and Configure the MediaMelon Plugin
The MediaMelon plugin needs to be configured . The following steps need to be executed.
Step 3a: Import packages
The MediaMelon plugin package needs to be imported in the following file
IMADAISample/app/com/kaltura/playkit/samples/imadaisample/MainActivity.java
Step 3b: Configure the Plugin
Add the following function createPluginConfigs in the file IMADAISample/app/com/kaltura/playkit/samples/imadaisample/MainActivity.java
Last updated