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 override the BCOVVideo
class or do not use the Brightcove player and catalog, you need to send your Video Cloud Publisher ID to Video Cloud Analytics. You can do this by setting the analytics account
value. This also allows you to view data for this app in Video Cloud 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.