Bitmovin TVOS v2.66 (Nowtilus SSAI) with Content Provider Metrics
Step by step integration of the Mediamelon Player SDK with Nowtilus SSAI with Bitmovin Player 2.66.0
Integrating the MediaMelonSmartStreaming Framework
1. Import Frameworks
import BitmovinPlayer
import MMSmartStreamingSDK // For Cocoaapods release
or
import MMGenericFramework // For Framework release 2. Provide Asset information
pprivate 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
PreviousNowtilus Android Demo App DocumentationNextBitmovin TVOS v3.4x (Nowtilus SSAI) with Content Provider Metrics
Last updated