Brightcove App SDK for iOS: Version 1.2.1 with iOS 4 support

Technology
Media API, Player API
Required
Media API token
Edition
Express 499, Pro, Enterprise

Note: This article refers to an older version of the Brightcove App SDK for iOS. Go to Brightcove App SDK for iOS for links to the zip files that include the latest versions.

We're happy to announce that we have updated the Brightcove App SDK for iOS to support Apple iOS 4.0. The new version of our app SDK, version 1.2.1, has some major changes. This version of the SDK no longer includes the libBCiPhoneKit.a library, which is now deprecated. When using the latest tools from Apple, the same issues seen in iOS 3.2 are present. So we are moving forward with just libBrightcoveMediaAPI.a and libBrightcoveiPadiPhoneKit.a. We have also added a bunch of new features to both the libBrightcoveMediaAPI.a and libBrightcoveiPadiPhoneKit.a libraries. Go to Brightcove App SDK for iOS for links to the zip files that include the latest versions of the SDK classes, reference docs, and sample code for the OnePlanet iPhone native app. Let us know what you think in the Mobile SDK forum and feel free to post feature requests.

Changes to libBrightcoveMediaAPI.a

Version 1.2.1 of the libBrightcoveMediaAPI.a library includes these changes:

  • Region support. The Brightcove Media APIs have two end points, api.brightcove.com and api.brightcove.co.jp. The api.brightcove.co.jp should be used by users in Japan, while all other users should use the api.brightcove.com end point. You can now specify which end point you want to make your API calls to.
  • The udsSupportOn property has been changed to mediaDeliveryType. This property takes a BCMediaDeliveryType enum value, which can be one of BCMediaDeliveryTypeDefault or BCMediaDeliveryTypeHTTP. The default value, BCMediaDeliveryTypeDefault, uses the default media delivery type for your account. If your app was using the udsSupportOn property to force delivery via HTTP media URLs, use the BCMediaDeliveryTypeHTTP enum value.
  • Logging. By setting the logging property to true on the BCMediaAPI class, you can see the contents of your Media API calls and the returned data. Turn this off in your release builds.
  • Compatible with the latest iOS 4.0 SDK from Apple.

Changes to libBrightcoveiPadiPhoneKit.a

Version 1.1.0 of the libBrightcoveiPadiPhoneKit.a library includes these changes:

  • Support for iOS 3.1, 3.2 and 4.0.
  • BCMoviePlayerController implements the MPMediaPlayback protocol. These methods now show up in code completion.
  • searchForRenditionsBetweenLowBitRate: andHighBitRate: now take NSNumber as the param types.
  • The - (id)initWithContentURL:(BCVideo *) video searchForRenditionWithLowBitRate:(NSNumber *) lowBitRate andHighBitRate:(NSNumber *) highBitRate method was added. This is primarily used to support iOS 3.1, but can be used on iOS 3.2 and greater.
  • Compatible with the latest iOS 4.0 SDK from Apple.