AVPlayer (Cocoapods)
This guide provides detailed instructions on integrating the MediaMelon Player SDK into an iOS Media Player Application.
Step 0: Creating AVPlayer based media player application
cd ~/
mkdir sampleintegration
cd sampleintegration/wget https://sdk.mediamelon.com/$CustomerID/SampleAVPlayerWithFreeWheelAds.zipStep 1: Building the MediaMelonSmartStreaming Framework
sudo gem install cocoapods
pod init
touch Podfile
open Podfiletarget 'SwiftDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'MediaMelon-AVPlayer-iOS'
# Pods for SwiftDemo
endStep 2: Integrating the MediaMelonSmartStreaming Framework
1. Import Frameworks
2. Provide Asset information
3. Cleaning up the SDK Session
5. Disable manifest fetching by the SDK
Last updated