Skip to content
Reference iOS Sender w/ Framework API: CastVideos-ios application shows how to cast videos from an iOS device that is fully compliant with the Cast Design Checklist.
Objective-C Swift Ruby
Branch: master
Clone or download
jtromo Updated project to Cast SDK 4.4.3 and added support for iOS 13
Change-Id: I00581f40ed998642a9912dc2b189c9b913603dfb
Latest commit 6f2918f Jul 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CastVideos-ios.xcodeproj Updated project to Cast SDK 4.4.3 and added support for iOS 13 Jul 24, 2019
CastVideos-ios.xcworkspace Cleaned up project structure and clarified objc vs swift files. Oct 16, 2018
CastVideos-objc Updated project to Cast SDK 4.4.3 and added support for iOS 13 Jul 24, 2019
CastVideos-swift Updated project to Cast SDK 4.4.3 and added support for iOS 13 Jul 24, 2019
Resources Updated README Mar 26, 2019
Supporting Files Updated project to Cast SDK 4.4.3 and added support for iOS 13 Jul 24, 2019
.gitignore
CONTRIBUTING.md Updated README Mar 26, 2019
LICENSE Initial checkin of new Cast SDK iOS reference app Jun 7, 2016
Podfile Updated project to Cast SDK 4.4.3 and added support for iOS 13 Jul 24, 2019
README.md Updated README Mar 26, 2019

README.md

CastVideos-ios (reference iOS sender app)

This Google Cast demo app shows how to cast videos from an iOS device in a way that is fully compliant with the Cast Design Checklist.

This is a reference sender app to be used as the starting point for your iOS sender app. The project contains targets for both Objective-C and Swift.

List of reference apps and tutorials

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. The easiest would be to use the Styled Media Receiver option. 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.
  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. In AppDelegate.swift/AppDelegate.m the sample includes a published receiver app ID so the project can be built and run without a need to register an ID. If you want to use your own receiver (which is required if you need to debug the receiver), update the value with your own ID.
  7. Xcode setup steps

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.

You can’t perform that action at this time.