MediaMelon C++ Custom SDK Integration Document
This guide is for integrating the MediaMelon Custom SDK for the STB-based Players
Step 1: Add MediaMelon SDK
Step 2: Register and Initialize MediaMelon SDK
Step 2.1: Instantiate and Set SDK Registration Information:
#include "cpp_mmsmartstreaming.h"
using namespace MMSmartStreamingSDK;
MMSmartStreaming &mmSmartStreaming = MMSmartStreaming::getInstance();
MMSmartStreaming::registerMMSmartStreaming("PLAYER_NAME", "CUSTOMER_ID", "SUBSCRIBER_CPP", "DOMAIN_NAME", "SUBSCRIBER_TYPE", "SUBSCRIBER_TAG", hashSubscriberID);
MMSmartStreaming::reportPlayerInfo("PLAYER_BRAND", "PLAYER_MODEL", "PLAYER_VERSION");
MMSmartStreaming::reportBasePlayerInfo("BASE_PLAYER_NAME", "BASE_PLAYER_VERSION");Step 2.3: Report Application Information:
Step 2.4: Set Device Information:
Step 2.5: Report Experiment Name & Sub Property ID:
Step 2.6: Set Content Metadata:
Step 2.7: Initialize Session with Content Metadata:
Step 3: Additional Custom Metadata
Step 4: Network and Stream Information
Step 4.1: Report Network Information:
Step 4.2: Report Stream Information:
Step 4.3: Update Stream URL:
Step 4.4: Report Video Presentation Information:
Step 4.5: Report Track Information:
Step 4.6: Report Rendition:
Step 4.7: Update DRM Type:
Step 5: Chunk/Segment Information
Step 5.1: Report Download Rate:
Step 6: Player Events
Step 6.1: Report Player State:
Step 6.2: Report Buffering:
Step 6.3: Report Seek:
Step 6.4: Report Error:
Step 6.5: Report Warning:
Step 6.5: Report Playback Position:
Step 6.6: Report Player Resolution:
Step 7: Fallback & Request Status
Step 7.1: Report Fallback Event:
Step 7.2: Report Request Status:
Step 8: Ad Data & Ad Events
Step 8.1: Report Ad Break Start & End:
Step 8.2: Report Ad Data, Ad Start & End:
Ad Info Fields & Description
Last updated