Bitmovin IOS v2.66(Nowtilus SSAI) with Content Provider Metrics
This page describes the integration of the MediaMelon Player SDK ( that supports Content Provide Metrics reporting ) with the Bitmovin Player v2.66 on the IOS platform.
Integrating the MediaMelonSmartStreaming Framework
1. Import Frameworks
import BitmovinPlayer
import MMGenericFramework 2. Provide Asset information
private func configureMMSDK(mediaURL: String, vastURL: String) {
let assetInfo = MMAssetInformation(assetURL: mediaURL, assetID: "RandomID", assetName: "Test Asset", videoId: "123456789")
assetInfo.setContentType("Movie") //Type of content (Movie / Special / Clip / Scene)
assetInfo.setDrmProtection("Fairplay") //Widevine, Fairplay, Playready etc. Unknown means content is protected, but protection type is unknown. For clear contents, do not set this field
assetInfo.setEpisodeNumber("testEpisode") //Sequence Number of the Episode (string).
assetInfo.setSeriesTitle("testSeries") //Title of the series
assetInfo.setSeason("testSeason") //Season For example - Season1,2,3 etc
assetInfo.setGenre("testGenre") //Genre of the content
// Optional custom metadata
assetInfo.addCustomKVP("CustomKVP1Key", "CustomKVP1Value")
assetInfo.addCustomKVP("CustomKVP2Key", "CustomKVP2Value")
assetInfo.setQBRMode(.QBRModeDisabled, withMetaURL: nil)
let resgistrato = MMRegistrationInformation(customerID: "200417809", playerName: "BitmovinPlayerTesting")
BitmovinPlayerIntegrationWrapper.setPlayerRegistrationInformation(registrationInformation: resgistrato, player: player)
BitmovinPlayerIntegrationWrapper.initializeAssetForPlayer(assetInfo: assetInfo, registrationInformation: resgistrato, player: player)
}
3. Cleaning up the SDK Session
5. Disable manifest fetching by the SDK
5. Add the SSAIManagerDelegate
7. Create a new session and update the asset information
8. Getting the mediaURL and vastURL from the Session Resolver URL
9 Enabling Content Provider Metrics
Parameter
Value
Last updated