Skip to content

Commit

Permalink
Bump Streamroot SDK version (#2)
Browse files Browse the repository at this point in the history
* Bunp Streamroot SDK version

* Remove buffer target set at the beginning
  • Loading branch information
LamineNdy authored Dec 2, 2019
1 parent df01913 commit 773141e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
6 changes: 3 additions & 3 deletions AVPlayerDNAPlugin.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'AVPlayerDNAPlugin'
s.version = '1.1.12'
s.swift_version = '5.0'
s.version = '1.1.13'
s.swift_version = '5.1'
s.summary = 'Streamroot Distributed Network Architecture AVPlayer plugins, a new way to deliver large-scale OTT video'
s.homepage = 'https://www.streamroot.io/'
s.author = { 'Name' => '[email protected]' }
Expand All @@ -14,5 +14,5 @@ Pod::Spec.new do |s|
s.source_files = 'PlayerDNAPlugin/Classes/*.swift'
s.ios.deployment_target = '10.2'
s.tvos.deployment_target = '10.2'
s.dependency 'StreamrootSDK', '~> 3.15.1'
s.dependency 'StreamrootSDK', '~> 3.16.0'
end
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
binary "https://sdk.streamroot.io/ios/StreamrootSDK.json" ~> 3.15.1
github "apple/swift-protobuf" "1.6.0"
binary "https://sdk.streamroot.io/ios/StreamrootSDK.json" ~> 3.16.0
github "apple/swift-protobuf" "1.7.0"
github "daltoniam/Starscream" "3.1.0"
github "getsentry/sentry-cocoa" "4.4.0"
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
binary "https://sdk.streamroot.io/ios/StreamrootSDK.json" "3.15.1"
github "apple/swift-protobuf" "1.6.0"
binary "https://sdk.streamroot.io/ios/StreamrootSDK.json" "3.16.0"
github "apple/swift-protobuf" "1.7.0"
github "daltoniam/Starscream" "3.1.0"
github "getsentry/sentry-cocoa" "4.4.0"
12 changes: 12 additions & 0 deletions PlayerDNAPlugin.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@
CLANG_ENABLE_CODE_COVERAGE = NO;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -492,6 +493,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.1.13;
OTHER_CFLAGS = (
"$(inherited)",
"-fembed-bitcode",
Expand Down Expand Up @@ -530,6 +532,7 @@
CLANG_ENABLE_CODE_COVERAGE = NO;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -546,6 +549,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.1.13;
OTHER_CFLAGS = (
"$(inherited)",
"-fembed-bitcode",
Expand Down Expand Up @@ -712,6 +716,7 @@
CLANG_ENABLE_CODE_COVERAGE = NO;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -729,6 +734,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.1.13;
OTHER_CFLAGS = (
"$(inherited)",
"-fembed-bitcode-marker",
Expand All @@ -749,6 +755,7 @@
CLANG_ENABLE_CODE_COVERAGE = NO;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -766,6 +773,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.1.13;
OTHER_CFLAGS = (
"$(inherited)",
"-fembed-bitcode",
Expand Down Expand Up @@ -822,6 +830,7 @@
CLANG_ENABLE_CODE_COVERAGE = NO;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -838,6 +847,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.1.13;
OTHER_CFLAGS = (
"$(inherited)",
"-fembed-bitcode-marker",
Expand All @@ -858,6 +868,7 @@
CLANG_ENABLE_CODE_COVERAGE = NO;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 0;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
Expand All @@ -874,6 +885,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 1.1.13;
OTHER_CFLAGS = (
"$(inherited)",
"-fembed-bitcode",
Expand Down
3 changes: 0 additions & 3 deletions PlayerDNAPlugin/Classes/AVPlayerPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ import StreamrootSDK
/// Link the plugin to the player
@objc public func linkPlayer(_ player: AVPlayer?) throws {
self.player = player
if #available(iOS 10.0, tvOS 10.0, *) {
self.player?.currentItem?.preferredForwardBufferDuration = dnaClient?.bufferTarget ?? 0
}
guard let playerItem = player?.currentItem else { return }

NotificationCenter.default.addObserver(self, selector: #selector(handlePlayedToEndFail),
Expand Down
2 changes: 1 addition & 1 deletion PlayerDNAPlugin/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.1.11</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down

0 comments on commit 773141e

Please sign in to comment.