-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
145 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
language: objective-c | ||
osx_image: xcode6.4 | ||
|
||
install: | ||
- brew install gcovr | ||
|
||
before_script: | ||
- curl -L -ocast.zip https://redirector.gvt1.com/edgedl/chromecast/sdk/ios/GoogleCastSDK-2.7.1-Release-ios-default.zip | ||
- unzip cast.zip 'GoogleCastSDK-2.7.1-Release/GoogleCast.framework/*' | ||
- mv -v GoogleCastSDK-2.7.1-Release/GoogleCast.framework modules/google-cast/ | ||
- curl -L -ofling.zip https://s3-us-west-1.amazonaws.com/amazon-fling/AmazonFling-SDK.zip | ||
- unzip fling.zip 'ios-sdk/frameworks/*' | ||
- mv -v ios-sdk/frameworks/{AmazonFling,third_party_framework/Bolts}.framework modules/firetv/Frameworks/ | ||
|
||
script: | ||
- xctool -scheme ConnectSDK -configuration Debug -sdk iphonesimulator -IDECustomDerivedDataLocation="out/tests_build" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES test | ||
- xctool -scheme ConnectSDKIntegrationTests -configuration Debug -sdk iphonesimulator -IDECustomDerivedDataLocation="out/integration_tests_build" test | ||
|
||
after_success: | ||
- gcovr --object-directory="out/tests_build/ConnectSDK/Build/Intermediates/ConnectSDK.build/Debug-iphonesimulator/ConnectSDK.build/Objects-normal/i386/" --root=. --xml-pretty --gcov-exclude='.*#(?:\w*Tests|Frameworks)#.*' --print-summary --output="cobertura.xml" | ||
- bash <(curl -s https://codecov.io/bash) -f "cobertura.xml" | ||
|
||
# vim: set sw=2 ts=2 sts=2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
#Connect SDK iOS | ||
|
||
[![Build Status](https://travis-ci.org/ConnectSDK/Connect-SDK-iOS.svg)](https://travis-ci.org/ConnectSDK/Connect-SDK-iOS) | ||
[![Code Coverage](https://img.shields.io/codecov/c/github/ConnectSDK/Connect-SDK-iOS/dev.svg)](https://codecov.io/github/ConnectSDK/Connect-SDK-iOS) | ||
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ConnectSDK.svg)](https://cocoapods.org/pods/ConnectSDK) | ||
[![Apache License, 2.0](https://img.shields.io/cocoapods/l/ConnectSDK.svg)](https://github.com/ConnectSDK/Connect-SDK-iOS/blob/master/LICENSE) | ||
[![Platform: iOS](https://img.shields.io/cocoapods/p/ConnectSDK.svg)](http://cocoadocs.org/docsets/ConnectSDK/) | ||
[![Twitter: @ConnectSDK](https://img.shields.io/badge/[email protected])](https://twitter.com/ConnectSDK) | ||
|
||
Connect SDK is an open source framework that connects your mobile apps with multiple TV platforms. Because most TV platforms support a variety of protocols, Connect SDK integrates and abstracts the discovery and connectivity between all supported protocols. | ||
|
||
For more information, visit our [website](http://www.connectsdk.com/). | ||
|
@@ -16,7 +24,7 @@ This project has the following dependencies, some of which require manual setup. | |
* Automatic Reference Counting (ARC) | ||
* [Connect-SDK-iOS-Core](https://github.com/ConnectSDK/Connect-SDK-iOS-Core) submodule | ||
* [Connect-SDK-iOS-Google-Cast](https://github.com/ConnectSDK/Connect-SDK-iOS-Google-Cast) submodule | ||
- Requires [`GoogleCast.framework`](https://developers.google.com/cast/docs/downloads) | ||
- Requires [`GoogleCast.framework`](https://developers.google.com/cast/docs/developers#libraries) | ||
* [Connect-SDK-iOS-FireTV](https://github.com/ConnectSDK/Connect-SDK-iOS-FireTV) submodule | ||
- Requires [`AmazonFling.framework`](https://developer.amazon.com/public/apis/experience/fling/docs/amazon-fling-sdk-download) | ||
|
||
|
@@ -72,6 +80,16 @@ The required third-party test frameworks are already pre-built and included in t | |
|
||
All of the test targets are compiled when the main `ConnectSDK` scheme is built, but only the unit tests are setup to run when testing the scheme. The other tests can be run by selecting the corresponding scheme. | ||
|
||
##Limitations/Caveats | ||
|
||
###Subtitles | ||
|
||
- DLNA service supports `SRT` format only. Since there is no official specification for them, subtitles may not work on all DLNA-compatible devices. This feature has been tested and works on LG WebOS and Netcast TVs. | ||
- Netcast service supports `SRT` format only, through DLNA. | ||
- Google Cast service supports `WebVTT` format only. Servers providing subtitles and media files should support [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) headers (unless they are of the same origin). The simplest change is to send this HTTP response header for your files: `Access-Control-Allow-Origin: *`. More information is here: [https://developers.google.com/cast/docs/ios_sender#cors-requirements](https://developers.google.com/cast/docs/ios_sender#cors-requirements). | ||
- FireTV service supports `WebVTT` format only. Subtitles on Fire TV are hidden by default. To display them, the user should manually pick one in the media player (click the "Options" button on the remote). The Fling SDK doesn't provide any way to make them appear remotely. | ||
- WebOS service supports `WebVTT` format only. Server providing subtitles should support CORS headers, similarly to Cast service's requirements. | ||
|
||
##Contact | ||
- Twitter: [@ConnectSDK](https://twitter.com/ConnectSDK) | ||
- Ask a question on Stack Overflow with the [Connect-SDK tag](https://stackoverflow.com/tags/connect-sdk) (or [TV tag](https://stackoverflow.com/tags/tv)) | ||
|
Submodule core
updated
42 files
Submodule firetv
updated
9 files
+3 −7 | Capabilities/FireTVCapabilityMixin.m | |
+8 −10 | Capabilities/FireTVMediaControl.m | |
+30 −21 | Capabilities/FireTVMediaPlayer.m | |
+1 −0 | FireTVService.m | |
+163 −12 | FireTVTests/Capabilities/FireTVMediaPlayerTests.m | |
+1 −0 | FireTVTests/FireTVServiceTests.m | |
+1 −14 | FireTVTests/XCTestCase+TaskTests.h | |
+0 −11 | FireTVTests/XCTestCase+TaskTests.m | |
+4 −1 | README.asciidoc |
Submodule google-cast
updated
7 files
+299 −29 | CastService.m | |
+29 −0 | CastService_Private.h | |
+1 −1 | CastWebAppSession.h | |
+7 −197 | CastWebAppSession.m | |
+336 −0 | GoogleCastTests/CastServiceTests.m | |
+88 −0 | GoogleCastTests/CastWebAppSessionTests.m | |
+3 −1 | README.md |