Skip to content

Commit

Permalink
Release 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Nikolskyi committed Sep 8, 2015
2 parents 1a642a2 + 74d6c5c commit 7c9aea4
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 8 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Connect SDK iOS Changelog

## 1.6.0 -- 09 Sep 2015

- Added subtitles support for WebOS, Netcast, DLNA, Chromecast and FireTV
- Supports Android TV devices
- Fixed playing media on Roku 6.2
- Removed Rewind and FastForward capabilities from Netcast service because they are not supported
- Miscellaneous bug fixes
- [See commits between 1.5.0 and 1.6.0](https://github.com/ConnectSDK/Connect-SDK-iOS/compare/1.5.0...1.6.0)

[View files at version 1.6.0](https://github.com/ConnectSDK/Connect-SDK-iOS/tree/1.6.0)

## 1.5.0 -- 09 Jul 2015

- Supports Amazon Fling SDK to play and control media on Fire TV devices
Expand Down
11 changes: 7 additions & 4 deletions ConnectSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Pod::Spec.new do |s|
s.name = "ConnectSDK"
s.version = "1.5.0"
s.version = "1.6.0"
s.summary = "Connect SDK is an open source framework that connects your mobile apps with multiple TV platforms."

s.description = <<-DESC
Expand Down Expand Up @@ -104,11 +104,14 @@ Pod::Spec.new do |s|
end

s.subspec 'GoogleCast' do |sp|
cast_dir = "modules/google-cast"

sp.dependency 'ConnectSDK/Core'
sp.source_files = "modules/google-cast/**/*.{h,m}"
sp.private_header_files = "modules/google-cast/**/*_Private.h"
sp.source_files = "#{cast_dir}/**/*.{h,m}"
sp.exclude_files = "#{cast_dir}/*Tests/**/*"
sp.private_header_files = "#{cast_dir}/**/*_Private.h"

cast_version = "2.6.0"
cast_version = "2.7.1"
sp.dependency "google-cast-sdk", cast_version
sp.framework = "GoogleCast"
sp.xcconfig = {
Expand Down
82 changes: 82 additions & 0 deletions ConnectSDK.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion README.md
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/).
Expand All @@ -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)

Expand Down Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 42 files
+1 −1 ConnectSDK-Prefix.pch
+1 −0 ConnectSDK.h
+49 −14 ConnectSDKAcceptanceTests/DLNAServiceAcceptanceTests.m
+56 −35 ConnectSDKTests/Helpers/BlockRunner/DispatchQueueBlockRunnerTests.m
+48 −0 ConnectSDKTests/Helpers/MediaInfoTests.m
+62 −0 ConnectSDKTests/Helpers/NSMutableDictionary+NilSafeTests.m
+88 −0 ConnectSDKTests/Helpers/SubtitleInfoTests.m
+53 −0 ConnectSDKTests/Services/AirPlayServiceTests.m
+345 −1 ConnectSDKTests/Services/DLNAServiceTests.m
+11 −0 ConnectSDKTests/Services/Helpers/AirPlayServiceHTTPTests.m
+81 −1 ConnectSDKTests/Services/NetcastTVServiceTests.m
+199 −0 ConnectSDKTests/Services/RokuServiceTests.m
+42 −0 ConnectSDKTests/Services/Sessions/WebAppSessionTests.m
+155 −10 ConnectSDKTests/Services/Sessions/WebOSWebAppSessionTests.m
+305 −3 ConnectSDKTests/Services/WebOSTVServiceTests.m
+39 −0 ConnectSDKTests/XCTestCase+Common.h
+55 −0 ConnectSDKTests/XCTestCase+Common.m
+1 −1 Helpers/ConnectError.h
+6 −1 Helpers/MediaInfo.h
+30 −0 Helpers/NSMutableDictionary+NilSafe.h
+33 −0 Helpers/NSMutableDictionary+NilSafe.m
+98 −0 Helpers/SubtitleInfo.h
+73 −0 Helpers/SubtitleInfo.m
+15 −10 Services/AirPlayService.m
+27 −0 Services/AirPlayService_Private.h
+26 −0 Services/Capabilities/CapabilityConstants.m
+0 −1 Services/Capabilities/MediaControl.h
+5 −0 Services/Capabilities/MediaPlayer.h
+9 −18 Services/DIALService.m
+166 −82 Services/DLNAService.m
+12 −14 Services/Helpers/AirPlayServiceHTTP.m
+3 −9 Services/Helpers/AirPlayServiceMirrored.m
+37 −0 Services/Helpers/NSObject+FeatureNotSupported_Private.h
+38 −0 Services/Helpers/NSObject+FeatureNotSupported_Private.m
+42 −84 Services/NetcastTVService.m
+55 −52 Services/RokuService.m
+27 −0 Services/RokuService_Private.h
+5 −8 Services/Sessions/AirPlayWebAppSession.m
+10 −20 Services/Sessions/WebAppSession.m
+39 −19 Services/Sessions/WebOSWebAppSession.m
+48 −39 Services/WebOSTVService.m
+32 −0 Services/WebOSTVService_Private.h

0 comments on commit 7c9aea4

Please sign in to comment.