Skip to content

Broadpeak-tv/smartlib-ios-sample-app

Repository files navigation

BPK SmartLib iOS sample app

This sample app shows how to implement a Broadpeak CDN integration with analytics and ad tracking using AVPlayer.

Find all detailed steps on https://delivery-platform.broadpeak.tv/smartlib/

Getting Started

In the sample app folder, run pod install. All dependencies should be downloaded automatically.

  • ViewController.m: SmartLib initialization, executed once when the app is starting
  • LiveContentController.m: Start a live content with player analytics

Live content

The live content sample implements the Broadpeak CDN integration and the Analytics integration.

Ad tracking

The ad tracking sample implements the Broadpeak CDN integration, the Analytics integration and the Ad insertion integration.