MediaMelon Android IMA Media3 SDK Integration Document
This guide provides detailed instructions on integrating the Android MediaMelon IMA SDK with the Media3 player
Step 1: Set up the build environment
Step 1.1: Add Gradle Dependency:
dependencies {
...
implementation 'com.github.MediamelonSDK:mm-android-sdk-media3-ima:2.2.5'
}Step 1.2 Provide Permissions
Step 1.3: Import Packages
Step 2: Register and Initialise SDK
Step 2.1: Set Context
Step 2.2: Register SDK
Step 2.3: Report Player Information
Step 2.4: Report Base Player Information
Step 2.5: Report Application Information
Step 2.6: Initialize session with Content Metadata
Step 2.7: Report Experiment Name
Step 2.8: Report View Session Id
Step 2.9: Report Sub Property Id
Step 2.10: Report App Session ID
Step 2.11: Report Player Resolution
Step 3: Report Custom Metadata
Step 4: Report Custom Errors
Step 5: Report Ended State
Step 6: Report Stream Information
Step 6.1: Report Stream Info
Step 6.2: Report CDN
Step 6.3: Report Stream Fallback Event
Step 7: Enable IMA/DAI Ad tracking
7.a: IMA Ad Tracking
7.b: DAI Ad Tracking
Releases Notes
PreviousMediaMelon Android ExoPlayer SDK Integration DocumentNextMediaMelon Android Bitmovin SDK Integration Document
Last updated