GithubHelp home page GithubHelp logo

easyui / casthellovideo-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecast/casthellovideo-ios

0.0 3.0 0.0 91 KB

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: Apache License 2.0

Objective-C 55.22% Swift 44.27% Ruby 0.52%

casthellovideo-ios's Introduction

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

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.

Google+

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

casthellovideo-ios's People

Contributors

aaroncrespo avatar cassierecher avatar ianbarber avatar javaclimber avatar naokigoogle avatar norulesjustfeels avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.