iOS: Brightcove Registration

In this topic, you will learn how to register your app with Brightcove.

Overview

For Video Cloud customers, in most cases, when you use the Brightcove Player SDK for iOS, your app is registered automatically. For Brightcove Player customers, you need to send your account id from your app. See the details below.

Video Cloud customers

If you use the Brightcove player and the Catalog class included in the SDK to retrieve and play videos, your app will be registered with Brightcove automatically. Also, analytics data will be collected and will appear in your Video Cloud Analytics.

If you construct your own BCOVVideo objects without Video Cloud account metadata, send your Video Cloud Account ID to Video Cloud Analytics. You can set the analytics account value on the controller. This value takes precedence over each video's account metadata, so do not use it to combine videos from different accounts. Videos returned by the Playback Service already contain account metadata. For a per-video example, see Sending Brightcove Analytics.

static NSString * const kPublisherID = @"<insert valid accountId>"; // for analytics

    _playbackController.analytics.account = kPublisherID;

Brightcove Player customers

As a Brightcove Player customer, you need to register your apps with Brightcove. To do this, you will send your Account ID to Brightcove using the analytics account value.

static NSString * const kPublisherID = @"<insert valid accountId>"; // for analytics

    _playbackController.analytics.account = kPublisherID;
 

Now that you know how to register your app, you are ready to learn how to work with your media content in the next document.