MediaMelon iOS Bitmovin Player SDK Integration Document
This guide provides detailed instructions on integrating the MediaMelon BiPlayer IMA/DAI SDK into an iOS/tvOS Media Player Application.
Step 1: Add SDK
Step 2: Register and Initialize MediaMelon SDK
Step 3: Additional Custom Metadata
Step 4: Stream Information
Step 5: Set up Harmonic SSAI Ad Tracking
Step 6: Cleaning up the SDK Session
Step 7: Disable SDK Manifest Fetch
Step 8: Update Content Metadata
Step 1: Add SDK
Add the Wrapper file and the framework to the application project
Step 1.1: Import Frameworks:
import BitmovinPlayer
import MediaMelonHarmonicStep 2: Register and Initialize MediaMelon SDK
Step 2.1: Set SDK Registration Information:
Step 2.2: Set Content Metadata:
Step 2.3: Report Application Information:
Step 2.4: Report Application Session ID:
Step 2.5: Report Experiment Name & Sub Property ID:
Step 2.6: Initialize Session with Content Metadata:
Step 3: Additional Custom Metadata
Check the custom tags configuration in your dashboard and report accordingly. If the custom tags are not configured, please configure and use them accordingly.
Step 4: Stream Information
Step 4.1: Report CDN Information:
Step 4.2: Report Stream Information:
Step 4.3: Update DRM Type:
Step 5: Set up Harmonic SSAI Ad Tracking
Step 5.1: Initialize Harmonic SSAI Ad Manager:
HLS PMM_URL: Send the variant URL with the pmm ID.
Step 5.2: Set up Delegate for Ad Callbacks:
Add the MMSSAIManagerDelegate protocol to the required class. To confirm with MMSSAIManagerDelegate protocol implement the below method in the class.
Step 6: Cleaning up the SDK Session
Step 7: Disable SDK Manifest Fetch (Optional)
If your workflow restricts the manifest to be accessible from both the player and the MediaMelon Player SDK simultaneously, then you can disable the fetch of the manifest as shown below. When calling this method, it should be called before the initializeAssetForPlayer method.
Step 8: Update Content Metadata
During linear channel playback, if the content changes and a new session needs to be created for each piece of content, please use the updateAssetInfo method. This method can be used to create a new session while updating the asset information.
Release Notes:
Last updated