Skip to content

This Hello Video demo application shows how an iOS sender application can cast a Video. For simplicity this app is not fully compliant with the UX Checklist.

License

Notifications You must be signed in to change notification settings

googlecast/CastHelloVideo-ios

Repository files navigation

CastHelloVideo-ios

This Google Cast demo app shows how an iOS sender app can cast a Video. For simplicity this app is not fully compliant with the UX Checklist.

The project contains targets for both Objective-C and Swift.

List of reference apps and tutorials

Dependencies

Setup Instructions

  1. Get a Google Cast device and get it set up for development: https://developers.google.com/cast/docs/developers#setup_for_development.
  2. [Optional] Register an application on the Developers Console http://cast.google.com/publish. You will get an App ID when you finish registering your application. This project uses a published Application ID that can be used to run the app without using your own ID but if you need to do any console debugging, you would need to have your own ID.
    • If you use DRM, you will need to use your own App ID.
  3. Setup the project dependencies in Xcode using Cocoapods, installing the tool if necessary: See this guide.
  4. In the root folder, run pod repo update and then pod install.
  5. Open the .xcworkspace file rather the the xcproject to ensure you have the pod dependencies.
  6. The AppDelegate.swift/AppDelegate.m includes a published receiver App ID so the project can be built and run without a need to register an ID.
    • Update this value with your own App ID to use your own receiver to debug and use DRM.
  7. The Info.plist lists the published receiver App ID for NSBonjourServices which is used to discover Cast devices.
    • Update this value with your own App ID if you are using a custom receiver.
  8. For additional setup steps, see the Xcode setup guide.

Documentation

References

How to report bugs

Contributions

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

Terms

Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service and the Google Cast SDK Additional Developer Terms of Service.

About

This Hello Video demo application shows how an iOS sender application can cast a Video. For simplicity this app is not fully compliant with the UX Checklist.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published