This SDK allows you to integrate ad serving from your Ooyala Pulse account into your native iOS video player application.

Please see the changelog to see what is new and changed for this version.

Integrating the Pulse SDK into your project

After downloading the frameworks, you need to add them to the Embedded Binaries of your project. This is required because the Pulse iOS/tvOS framework is now a dynamic library.

To generate a build for the App Store, on the Build Phases of your target you should add a new Run Script Phase and add this line inside it:


This script removes the simulator frameworks from the binary before archiving to comply with the Apple’s App Store policy of attaching dynamic libraries.

(if you’re building for the Apple TV, replace Pulse.framework with Pulse_tvOS.framework)

Getting Started

During the startup of the video player application, you initialise the Pulse SDK and set up the connection to your Ooyala Pulse account using the +[OOPulse setPulseHost:deviceContainer:persistentId:] method from OOPulse. After initialization, use OOPulse to create an OOPulseSession. The OOPulseSession has an OOPulseSessionDelegate which handles all the communication between the video player and the OOPulseSession.

When it is time to play a video ad, your OOPulseSessionDelegate will be sent an OOPulseVideoAd through the -[OOPulseSessionDelegate startAdPlaybackWithAd:timeout:] method.

Integration sample: OBJ-C