diff --git a/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Info.plist b/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Info.plist index d3c1948a..f465e159 100644 --- a/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Info.plist +++ b/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion 1 diff --git a/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats b/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats index ccba75aa..5377e1f6 100644 Binary files a/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats and b/Frameworks/iOS/fat/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats differ diff --git a/Frameworks/iOS/fat/MUXSDKStats.framework/Headers/MUXSDKStats.h b/Frameworks/iOS/fat/MUXSDKStats.framework/Headers/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/Frameworks/iOS/fat/MUXSDKStats.framework/Headers/MUXSDKStats.h +++ b/Frameworks/iOS/fat/MUXSDKStats.framework/Headers/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/Frameworks/iOS/fat/MUXSDKStats.framework/Info.plist b/Frameworks/iOS/fat/MUXSDKStats.framework/Info.plist index f51a3afe..cb53e0ff 100644 Binary files a/Frameworks/iOS/fat/MUXSDKStats.framework/Info.plist and b/Frameworks/iOS/fat/MUXSDKStats.framework/Info.plist differ diff --git a/Frameworks/iOS/fat/MUXSDKStats.framework/MUXSDKStats b/Frameworks/iOS/fat/MUXSDKStats.framework/MUXSDKStats index 4f066a53..a9246a97 100755 Binary files a/Frameworks/iOS/fat/MUXSDKStats.framework/MUXSDKStats and b/Frameworks/iOS/fat/MUXSDKStats.framework/MUXSDKStats differ diff --git a/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Info.plist b/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Info.plist index d3c1948a..f465e159 100644 --- a/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Info.plist +++ b/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion 1 diff --git a/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats b/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats index ccba75aa..5377e1f6 100644 Binary files a/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats and b/Frameworks/iOS/release/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats differ diff --git a/Frameworks/iOS/release/MUXSDKStats.framework/Headers/MUXSDKStats.h b/Frameworks/iOS/release/MUXSDKStats.framework/Headers/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/Frameworks/iOS/release/MUXSDKStats.framework/Headers/MUXSDKStats.h +++ b/Frameworks/iOS/release/MUXSDKStats.framework/Headers/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/Frameworks/iOS/release/MUXSDKStats.framework/Info.plist b/Frameworks/iOS/release/MUXSDKStats.framework/Info.plist index f51a3afe..cb53e0ff 100644 Binary files a/Frameworks/iOS/release/MUXSDKStats.framework/Info.plist and b/Frameworks/iOS/release/MUXSDKStats.framework/Info.plist differ diff --git a/Frameworks/iOS/release/MUXSDKStats.framework/MUXSDKStats b/Frameworks/iOS/release/MUXSDKStats.framework/MUXSDKStats index 079680cf..1a67f9f2 100755 Binary files a/Frameworks/iOS/release/MUXSDKStats.framework/MUXSDKStats and b/Frameworks/iOS/release/MUXSDKStats.framework/MUXSDKStats differ diff --git a/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Info.plist b/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Info.plist index d3c1948a..f465e159 100644 --- a/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Info.plist +++ b/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion 1 diff --git a/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats b/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats index 3cd0e17e..156d4215 100644 Binary files a/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats and b/Frameworks/iOS/simulator/MUXSDKStats.framework.dSYM/Contents/Resources/DWARF/MUXSDKStats differ diff --git a/Frameworks/iOS/simulator/MUXSDKStats.framework/Headers/MUXSDKStats.h b/Frameworks/iOS/simulator/MUXSDKStats.framework/Headers/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/Frameworks/iOS/simulator/MUXSDKStats.framework/Headers/MUXSDKStats.h +++ b/Frameworks/iOS/simulator/MUXSDKStats.framework/Headers/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/Frameworks/iOS/simulator/MUXSDKStats.framework/Info.plist b/Frameworks/iOS/simulator/MUXSDKStats.framework/Info.plist index 32b738b9..3a3d3e8d 100644 Binary files a/Frameworks/iOS/simulator/MUXSDKStats.framework/Info.plist and b/Frameworks/iOS/simulator/MUXSDKStats.framework/Info.plist differ diff --git a/Frameworks/iOS/simulator/MUXSDKStats.framework/MUXSDKStats b/Frameworks/iOS/simulator/MUXSDKStats.framework/MUXSDKStats index 0c3837b6..75b9cc08 100755 Binary files a/Frameworks/iOS/simulator/MUXSDKStats.framework/MUXSDKStats and b/Frameworks/iOS/simulator/MUXSDKStats.framework/MUXSDKStats differ diff --git a/Frameworks/iOS/simulator/MUXSDKStats.framework/_CodeSignature/CodeResources b/Frameworks/iOS/simulator/MUXSDKStats.framework/_CodeSignature/CodeResources index e8200a42..dd15d9ec 100644 --- a/Frameworks/iOS/simulator/MUXSDKStats.framework/_CodeSignature/CodeResources +++ b/Frameworks/iOS/simulator/MUXSDKStats.framework/_CodeSignature/CodeResources @@ -10,11 +10,11 @@ Headers/MUXSDKStats.h - hpJjIlmQKaJSLEx2OMwYcNHASH0= + S9PdZ/OgsJQlp2nQojF9ilpmfE8= Info.plist - 3M48mEVBCS4jouEeXq9pQH2A6MU= + aPVgu4yEAQPxaMHib+Rw1wWjReY= Modules/module.modulemap @@ -38,11 +38,11 @@ hash - hpJjIlmQKaJSLEx2OMwYcNHASH0= + S9PdZ/OgsJQlp2nQojF9ilpmfE8= hash2 - k6dEI0sz2Ym7t2Jif4GQKZy5NiX1aNWXeWiiwhC/6Eg= + 9/mUO+ra23XJQhg/Zhf400L8md068bldwV9bqouyVEo= Modules/module.modulemap diff --git a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist index 8f749f0c..2755be07 100644 --- a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist +++ b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion 0.0.6 diff --git a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv index 93332788..f8d967ae 100644 Binary files a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv and b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv differ diff --git a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h +++ b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Info.plist b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Info.plist index 24338f40..b7aabd64 100644 Binary files a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Info.plist and b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/Info.plist differ diff --git a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/MUXSDKStatsTv b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/MUXSDKStatsTv index 8994c6dc..ee7f8b73 100755 Binary files a/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/MUXSDKStatsTv and b/Frameworks/tvOS/fat/MUXSDKStatsTv.framework/MUXSDKStatsTv differ diff --git a/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist b/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist index 8f749f0c..2755be07 100644 --- a/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist +++ b/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion 0.0.6 diff --git a/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv b/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv index 93332788..f8d967ae 100644 Binary files a/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv and b/Frameworks/tvOS/release/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv differ diff --git a/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h b/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h +++ b/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Info.plist b/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Info.plist index 24338f40..b7aabd64 100644 Binary files a/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Info.plist and b/Frameworks/tvOS/release/MUXSDKStatsTv.framework/Info.plist differ diff --git a/Frameworks/tvOS/release/MUXSDKStatsTv.framework/MUXSDKStatsTv b/Frameworks/tvOS/release/MUXSDKStatsTv.framework/MUXSDKStatsTv index 3729dd8e..aa81e7c8 100755 Binary files a/Frameworks/tvOS/release/MUXSDKStatsTv.framework/MUXSDKStatsTv and b/Frameworks/tvOS/release/MUXSDKStatsTv.framework/MUXSDKStatsTv differ diff --git a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist index 8f749f0c..2755be07 100644 --- a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist +++ b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion 0.0.6 diff --git a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv index 8d170273..32217861 100644 Binary files a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv and b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework.dSYM/Contents/Resources/DWARF/MUXSDKStatsTv differ diff --git a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h +++ b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Headers/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Info.plist b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Info.plist index 192b6047..574b55fd 100644 Binary files a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Info.plist and b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/Info.plist differ diff --git a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/MUXSDKStatsTv b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/MUXSDKStatsTv index 2516b2c0..25a9a2c3 100755 Binary files a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/MUXSDKStatsTv and b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/MUXSDKStatsTv differ diff --git a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/_CodeSignature/CodeResources b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/_CodeSignature/CodeResources index a5f3080d..591b3e93 100644 --- a/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/_CodeSignature/CodeResources +++ b/Frameworks/tvOS/simulator/MUXSDKStatsTv.framework/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ Headers/MUXSDKStats.h - hpJjIlmQKaJSLEx2OMwYcNHASH0= + S9PdZ/OgsJQlp2nQojF9ilpmfE8= Headers/MUXSDKStatsTv.h @@ -18,7 +18,7 @@ Info.plist - 1bYNYxHlNZ1GXQiUCj+ZYJJB54A= + ofrnb6Nnti6YRlhl/JuAUL4OHRQ= Modules/module.modulemap @@ -42,11 +42,11 @@ hash - hpJjIlmQKaJSLEx2OMwYcNHASH0= + S9PdZ/OgsJQlp2nQojF9ilpmfE8= hash2 - k6dEI0sz2Ym7t2Jif4GQKZy5NiX1aNWXeWiiwhC/6Eg= + 9/mUO+ra23XJQhg/Zhf400L8md068bldwV9bqouyVEo= Headers/MUXSDKStatsTv.h diff --git a/MUXSDKStats/MUXSDKStats.xcodeproj/project.pbxproj b/MUXSDKStats/MUXSDKStats.xcodeproj/project.pbxproj index ce4b3ae8..b831eba9 100644 --- a/MUXSDKStats/MUXSDKStats.xcodeproj/project.pbxproj +++ b/MUXSDKStats/MUXSDKStats.xcodeproj/project.pbxproj @@ -260,10 +260,12 @@ }; F4DCACFC1DCA892E0094D94C = { CreatedOnToolsVersion = 8.0; + DevelopmentTeam = CX6AHWLHM6; ProvisioningStyle = Automatic; }; F4DCAD051DCA892E0094D94C = { CreatedOnToolsVersion = 8.0; + DevelopmentTeam = CX6AHWLHM6; ProvisioningStyle = Automatic; }; }; @@ -597,8 +599,9 @@ isa = XCBuildConfiguration; baseConfigurationReference = 2299324CA6DB1DBCB21FE15C /* Pods-MUXSDKStats.debug.xcconfig */; buildSettings = { - CODE_SIGN_IDENTITY = ""; + CODE_SIGN_IDENTITY = "iPhone Developer"; DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = CX6AHWLHM6; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -626,6 +629,7 @@ buildSettings = { CODE_SIGN_IDENTITY = ""; DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = CX6AHWLHM6; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; @@ -647,6 +651,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 7FEF662BE45E805333B7371A /* Pods-MUXSDKStatsTests.debug.xcconfig */; buildSettings = { + DEVELOPMENT_TEAM = CX6AHWLHM6; INFOPLIST_FILE = MUXSDKStatsTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.mux.stats.ios.MUXSDKStatsTests; @@ -658,6 +663,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = D55847390AE2D6C375E7535C /* Pods-MUXSDKStatsTests.release.xcconfig */; buildSettings = { + DEVELOPMENT_TEAM = CX6AHWLHM6; INFOPLIST_FILE = MUXSDKStatsTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.mux.stats.ios.MUXSDKStatsTests; diff --git a/MUXSDKStats/MUXSDKStats/Info.plist b/MUXSDKStats/MUXSDKStats/Info.plist index 175b2b5f..9c590b82 100644 --- a/MUXSDKStats/MUXSDKStats/Info.plist +++ b/MUXSDKStats/MUXSDKStats/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/MUXSDKStats/MUXSDKStats/MUXSDKStats.h b/MUXSDKStats/MUXSDKStats/MUXSDKStats.h index 232d394a..c7b12d37 100644 --- a/MUXSDKStats/MUXSDKStats/MUXSDKStats.h +++ b/MUXSDKStats/MUXSDKStats/MUXSDKStats.h @@ -106,4 +106,14 @@ FOUNDATION_EXPORT */ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; +/*! + @method updateCustomerData:forPlayer:withPlayerData:withVideoData + @abstract allows videoData to be set or updated for the player + @param name The name of the player to update + @param playerData A MUXSDKCustomerPlayerData object with video metadata + @param videoData A MUXSDKCustomerVideoData object with video metadata + @discussion Use this method after you have already initialized the Mux SDK at any time before the player has been destroyed. Pass in either videoData or playerData. + */ ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData; + @end diff --git a/MUXSDKStats/MUXSDKStats/MUXSDKStats.m b/MUXSDKStats/MUXSDKStats/MUXSDKStats.m index b8dbeae9..51e560ad 100644 --- a/MUXSDKStats/MUXSDKStats/MUXSDKStats.m +++ b/MUXSDKStats/MUXSDKStats/MUXSDKStats.m @@ -222,4 +222,18 @@ + (void)programChangeForPlayer:(nonnull NSString *)name withVideoData:(nullable } } ++ (void)updateCustomerDataForPlayer:(nonnull NSString *)name withPlayerData:(nullable MUXSDKCustomerPlayerData *)playerData withVideoData:(nullable MUXSDKCustomerVideoData *)videoData { + MUXSDKPlayerBinding *player = [_viewControllers valueForKey:name]; + if (!player) return; + if (!playerData && !videoData) return; + MUXSDKDataEvent *dataEvent = [MUXSDKDataEvent new]; + if (playerData) { + [dataEvent setCustomerPlayerData:playerData]; + } + if (videoData) { + [dataEvent setCustomerVideoData:videoData]; + } + [MUXSDKCore dispatchEvent:dataEvent forPlayer:name]; +} + @end diff --git a/MUXSDKStats/MUXSDKStatsTests/MUXSDKStatsTests.m b/MUXSDKStats/MUXSDKStatsTests/MUXSDKStatsTests.m index 4c59b115..21ad3502 100644 --- a/MUXSDKStats/MUXSDKStatsTests/MUXSDKStatsTests.m +++ b/MUXSDKStats/MUXSDKStatsTests/MUXSDKStatsTests.m @@ -78,4 +78,36 @@ - (void)testVideoChangeForAVPlayerLayer{ [MUXSDKStats destroyPlayer:playName]; } +- (void)testupdateCustomerDataWithNulls{ + MuxMockAVPlayerLayer *controller = [[MuxMockAVPlayerLayer alloc] init]; + MUXSDKCustomerPlayerData *customerPlayerData = [[MUXSDKCustomerPlayerData alloc] initWithEnvironmentKey:@"YOUR_COMPANY_NAME"]; + MUXSDKCustomerVideoData *customerVideoData = [[MUXSDKCustomerVideoData alloc] init]; + NSString *playName = @"Player"; + [MUXSDKStats monitorAVPlayerLayer:controller withPlayerName:playName playerData:customerPlayerData videoData:customerVideoData]; + [MUXSDKStats updateCustomerDataForPlayer:playName withPlayerData:NULL withVideoData:NULL]; + [MUXSDKStats destroyPlayer:playName]; +} + +- (void)testupdateCustomerDataWithPlayerDataAndNullVideoData{ + MuxMockAVPlayerLayer *controller = [[MuxMockAVPlayerLayer alloc] init]; + MUXSDKCustomerPlayerData *customerPlayerData = [[MUXSDKCustomerPlayerData alloc] initWithEnvironmentKey:@"YOUR_COMPANY_NAME"]; + MUXSDKCustomerVideoData *customerVideoData = [[MUXSDKCustomerVideoData alloc] init]; + NSString *playName = @"Player"; + [MUXSDKStats monitorAVPlayerLayer:controller withPlayerName:playName playerData:customerPlayerData videoData:customerVideoData]; + [customerPlayerData setPlayerVersion:@"playerVersionV1"]; + [MUXSDKStats updateCustomerDataForPlayer:playName withPlayerData:customerPlayerData withVideoData:NULL]; + [MUXSDKStats destroyPlayer:playName]; +} + +- (void)testupdateCustomerDataWithNullPlayerDataAndVideoData{ + MuxMockAVPlayerLayer *controller = [[MuxMockAVPlayerLayer alloc] init]; + MUXSDKCustomerPlayerData *customerPlayerData = [[MUXSDKCustomerPlayerData alloc] initWithEnvironmentKey:@"YOUR_COMPANY_NAME"]; + MUXSDKCustomerVideoData *customerVideoData = [[MUXSDKCustomerVideoData alloc] init]; + NSString *playName = @"Player"; + [MUXSDKStats monitorAVPlayerLayer:controller withPlayerName:playName playerData:customerPlayerData videoData:customerVideoData]; + [customerVideoData setVideoTitle:@"Updated VideoTitle"]; + [MUXSDKStats updateCustomerDataForPlayer:playName withPlayerData:NULL withVideoData:customerVideoData]; + [MUXSDKStats destroyPlayer:playName]; +} + @end diff --git a/MUXSDKStats/MUXSDKStatsTv/Info.plist b/MUXSDKStats/MUXSDKStatsTv/Info.plist index 175b2b5f..9c590b82 100644 --- a/MUXSDKStats/MUXSDKStatsTv/Info.plist +++ b/MUXSDKStats/MUXSDKStatsTv/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.0.2 + 1.1.0 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/MUXSDKStats/Podfile.lock b/MUXSDKStats/Podfile.lock index 55710549..be1f756a 100644 --- a/MUXSDKStats/Podfile.lock +++ b/MUXSDKStats/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - Mux-Stats-Core (2.0.6) + - Mux-Stats-Core (2.0.12) DEPENDENCIES: - Mux-Stats-Core (~> 2.0.0) @@ -9,7 +9,7 @@ SPEC REPOS: - Mux-Stats-Core SPEC CHECKSUMS: - Mux-Stats-Core: 34ff82aec4176ee6439a7767b6722af32f108539 + Mux-Stats-Core: 73e692799571459722526ff4a721b6872da5c776 PODFILE CHECKSUM: 8f9d5792473d294fd42ad557d0a9a96e170846b9 diff --git a/Mux-Stats-AVPlayer.podspec b/Mux-Stats-AVPlayer.podspec index 904a315c..df1c39ff 100644 --- a/Mux-Stats-AVPlayer.podspec +++ b/Mux-Stats-AVPlayer.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'Mux-Stats-AVPlayer' - s.version = '1.0.2' + s.version = '1.1.0' s.source = { :git => 'https://github.com/muxinc/mux-stats-sdk-avplayer.git', :tag => "v#{s.version}" }