Sample Sender Application for iOS

Ooyala provides a sample sender application for iOS that runs a working version of the sender and receiver components of the Ooyala Chromecast Integration.

Prerequisites

To perform the following steps to run the iOS sample application, you must have:
  • An Apple computer running the latest version of Xcode with a developer license installed.
  • A receiver with the Chromecast module enabled.
  • An iOS device running iOS 7 or newer with the Chromecast App installed and paired with the receiver. This process is well documented by following the set up steps that appear when the app is opened on the device.
Note: If you are repeating these steps, make sure the app is removed from your device before beginning the second pass.

Steps for Running the Sample Sender Application for iOS

  1. Clone the Ooyala SDK for iOS Sample Apps repository.
  2. Navigate to the ios-sample-apps/ChromecastSampleApp directory on your local system.
  3. Open the ChromeCastSample App folder.
  4. Double click ChromecastSampleApp.xcodeproj to open the project in Xcode.
    Open the Project in Xcode
  5. Connect the iOS device to the computer.
  6. Go to the provisioning profile settings and select iOSTeam Provisioning Profile. If you cannot configure the provisioning profile, see the Apple Support site topic, Creating Your Provisioning Profile.
    Create Provisioning Profile
  7. Make sure the test device is unlocked.
  8. Select the Play button.
    Play in Xcode
    The app opens on your device, showing a list of playable videos:
    List of Playable Videos
  9. Tap the broadcast icon (in the top right corner) to select the Chromecast receiver.
    Broadcast Icon
  10. Tap to select the correct ChromeCast receiver from the list:
    Connect to Device
  11. Tap to select the video to send to the receiver.
The app is now playing on the receiver.
https://help.ooyala.com/sites/all/libraries/dita/en/video-platform/concepts/chromecast/sender_sample_ios.html

Was this article helpful?