Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/googlecast/CastVideos-ios
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.
https://github.com/googlecast/CastVideos-ios
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/googlecast/CastVideos-ios
- Owner: googlecast
- License: apache-2.0
- Created: 2016-06-23T21:27:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T08:06:18.000Z (9 months ago)
- Last Synced: 2024-08-02T20:48:19.360Z (6 months ago)
- Language: Objective-C
- Homepage:
- Size: 1.19 MB
- Stars: 193
- Watchers: 22
- Forks: 62
- Open Issues: 69
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Support: Supporting Files/Info.plist
Awesome Lists containing this project
- fucking-open-source-ios-apps - CastVideos
README
# 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](https://developers.google.com/cast/docs/downloads)
## Dependencies
* CocoaPods - dependencies are managed via CocoaPods. See http://guides.cocoapods.org/using/getting-started.html for setup instructions.
* Alternatively, you may download the iOS Sender API library directly at: [https://developers.google.com/cast/docs/developers#ios](https://developers.google.com/cast/docs/developers#ios "iOS Sender API library")## 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.
1. [Optional] Register an application on the Developers Console [http://cast.google.com/publish](http://cast.google.com/publish "Google Cast Developer Console").
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.**
1. Setup the project dependencies in Xcode using Cocoapods, installing the tool if necessary: See this [guide](http://guides.cocoapods.org/using/getting-started.html).
1. In the root folder, run `pod repo update` and then `pod install`.
1. Open the .xcworkspace file rather the the xcproject to ensure you have the pod dependencies.
1. 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.**
1. 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.**
1. For additional setup steps, see the [Xcode setup guide](https://developers.google.com/cast/docs/ios_sender_setup#xcode_setup).## Documentation
* [Google Cast iOS Sender Overview](https://developers.google.com/cast/docs/ios_sender/)
* [Developer Guides](https://developers.google.com/cast/docs/developers)## References
* [iOS Sender Reference](https://developers.google.com/cast/docs/reference/ios/)
* [Design Checklist](http://developers.google.com/cast/docs/design_checklist)## How to report bugs
* [Google Cast SDK Support](https://developers.google.com/cast/support)
* [Sample App Issues](https://issuetracker.google.com/issues/new?component=190205&template=1901999)## Contributions
Please read and follow the steps in the [CONTRIBUTING.md](CONTRIBUTING.md).## License
See [LICENSE](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](https://developers.google.com/terms/) and the [Google Cast SDK Additional Developer Terms of Service](https://developers.google.com/cast/docs/terms/).