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

cassierecher/CastHelloVideo-ios

 
 

Repository files navigation

hello-cast-video-ios

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.

Dependencies

Setup Instructions (With CocoaPods)

  • Get a Chromecast device and get it set up for development: https://developers.google.com/cast/docs/developers#Get_started
  • Register an application on the Developers Console http://cast.google.com/publish. The easiest would be to use the Styled Media Receiver option there. You will get an App ID when you finish registering your application.
  • Run pod install in the CastHelloVideo-ios directory
  • Open the .xcworkspace file rather the the xcproject to ensure you have the pod dependencies.
  • In HGCViewController.m, replace @"YOUR_APP_ID_HERE" with your app identifier from the Google Cast Developer Console. When you are done, it will look something like:
    • static NSString *const kReceiverAppID = @"1234ABCD";

Setup Instructions (Without CocoaPods)

  • Get a Chromecast device and get it set up for development: https://developers.google.com/cast/docs/developers#Get_started
  • Register an application on the Developers Console http://cast.google.com/publish. The easiest would be to use the Styled Media Receiver option there. You will get an App ID when you finish registering your application.
  • Setup the project dependencies in xCode
  • For each target you want to build, under "Build Settings", add "-ObjC" to "Other Linker Flags"
  • For each target you want to build, under "Build Phases", add the following ent ries to "Link Binary With Libraries":
    • libc++.dylib
    • Accelerate.framework
    • AudioToolbox.framework
    • AVFoundation.framework
    • CoreBluetooth.framework
    • MediaPlayer.framework
  • In HGCViewController.m, replace @"YOUR_APP_ID_HERE" with your app identifier from the Google Cast Developer Console. When you are done, it will look something like:
    • static NSString *const kReceiverAppID = @"1234ABCD";

Documentation

Google Cast iOS Sender Overview: https://developers.google.com/cast/docs/ios_sender

References and How to report bugs

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE

Google+

Google Cast Developers Community on Google+ http://goo.gl/TPLDxj

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

Languages

  • Objective-C 55.2%
  • Swift 44.3%
  • Ruby 0.5%