MediaMelon iOS AVPlayer IMA SDK Integration Document
This guide provides detailed instructions on integrating the MediaMelon AVPlayer IMA/DAI SDK into an iOS/tvOS Media Player Application.
Step 1: Set up MediaMelon SDK
target 'SwiftDemo' do
.
pod 'MediaMelon-AVPlayer-Google-IMA-SDK', '~> 2.5.0'
pod 'GoogleAds-IMA-iOS-SDK'
endStep 2: Import Frameworks
Step 3: Register and Initialize MediaMelon SDK
Step 3.1: Set SDK Registration Information:
Step 3.2: Report Application Information:
Step 3.3: Report Experiment Name & Sub Property ID:
Step 3.4: Set Content Metadata and Initialize Session:
Step 4: Additional Custom Metadata
Step 5: DAI & IMA Tracking Integration
Step 5.1: DAI MediaMelon Delegate Integration
Step 5.2: IMA MediaMelon Delegate Integration
Step 6: Errors and Warnings (Important)
Step 7: Report Additional Metadata Fields
Step 7.1: CDN:
Step 7.2: Stream Information:
Step 7.3: Player Resolution:
Step 7.4: Report Stream Fallback Event
Step 8: Cleaning up the SDK Session
Step 9: Update Asset Information
Step 10: Additional Configurations
Step 10.1: Disable manifest fetch by the SDK (Optional)
Step 10.2: Enable or Disable SDK Log Trace
Release Notes
PreviousMediaMelon iOS AVPlayer SDK Integration DocumentNextMediaMelon iOS Bitmovin Player SDK Integration Document
Last updated