Skip to content

Commit b66573a

Browse files
author
adamsfliu
committed
[iOS] update version to relesse-12.4.0.7057
1 parent ff2c829 commit b66573a

13 files changed

Lines changed: 28 additions & 193 deletions

File tree

TRTC-API-Example-OC/.DS_Store

2 KB
Binary file not shown.

TRTC-API-Example-OC/App/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundleShortVersionString</key>
1818
<string>1.0</string>
1919
<key>CFBundleVersion</key>
20-
<string>3963</string>
20+
<string>7057</string>
2121
<key>LSRequiresIPhoneOS</key>
2222
<true/>
2323
<key>NSAppTransportSecurity</key>

TRTC-API-Example-OC/Debug/GenerateTestUserSig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static const int SDKAppID = 0;
9696
* Unit: second
9797
* Default value: 604800 (7 days)
9898
*/
99-
static const int EXPIRETIME = 604800;
99+
static const int EXPIRETIME = 0;
100100

101101
/**
102102
* The encryption key used to calculate the signature, the steps to obtain are as follows:

TRTC-API-Example-OC/TRTC-API-Example-OC.xcodeproj/project.pbxproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
17A5C14026CCF723007E91B1 /* ThirdBeautyBytedViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 17A5C13A26CCF723007E91B1 /* ThirdBeautyBytedViewController.xib */; };
1414
17A5C14226CCF723007E91B1 /* ThirdBeautyEntranceViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 17A5C13C26CCF723007E91B1 /* ThirdBeautyEntranceViewController.m */; };
1515
17A5C14326CCF723007E91B1 /* ThirdBeautyEntranceViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 17A5C13E26CCF723007E91B1 /* ThirdBeautyEntranceViewController.xib */; };
16+
3976E57D2C608030000760FB /* MetalPerformanceShaders.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3976E57C2C608030000760FB /* MetalPerformanceShaders.framework */; };
1617
471A24B328ACC11200BEFE63 /* PictureInPictureViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 471A24B128ACC11200BEFE63 /* PictureInPictureViewController.m */; };
1718
471A24B428ACC11200BEFE63 /* PictureInPictureViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 471A24B228ACC11200BEFE63 /* PictureInPictureViewController.xib */; };
1819
4723A8902631666E0094AC81 /* NSString+Common.m in Sources */ = {isa = PBXBuildFile; fileRef = 4723A88F2631666E0094AC81 /* NSString+Common.m */; };
@@ -128,7 +129,7 @@
128129
D6D63B7025D86CFC1006B19E /* Pods_TRTC_API_Example_OC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C9B2CC51BDD884255109D5F7 /* Pods_TRTC_API_Example_OC.framework */; };
129130
EB147B20282E477900C0E2DC /* ThirdBeautyTencentEffectViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EB147B1F282E477900C0E2DC /* ThirdBeautyTencentEffectViewController.m */; };
130131
EB147B22282E477E00C0E2DC /* ThirdBeautyTencentEffectViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = EB147B21282E477E00C0E2DC /* ThirdBeautyTencentEffectViewController.xib */; };
131-
ED14F8002B957E7C00E52959 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED14F7FF2B957E7C00E52959 /* CoreMotion.framework */; };
132+
ED14F7F42B91D5DA00E52959 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED14F7F32B91D5DA00E52959 /* CoreMotion.framework */; };
132133
/* End PBXBuildFile section */
133134

134135
/* Begin PBXContainerItemProxy section */
@@ -175,6 +176,7 @@
175176
17A5C13C26CCF723007E91B1 /* ThirdBeautyEntranceViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdBeautyEntranceViewController.m; sourceTree = "<group>"; };
176177
17A5C13D26CCF723007E91B1 /* ThirdBeautyBytedViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThirdBeautyBytedViewController.h; sourceTree = "<group>"; };
177178
17A5C13E26CCF723007E91B1 /* ThirdBeautyEntranceViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ThirdBeautyEntranceViewController.xib; sourceTree = "<group>"; };
179+
3976E57C2C608030000760FB /* MetalPerformanceShaders.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalPerformanceShaders.framework; path = System/Library/Frameworks/MetalPerformanceShaders.framework; sourceTree = SDKROOT; };
178180
40D550ED26A6AED600FE9F13 /* libsqlite3.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libsqlite3.0.tbd; path = usr/lib/libsqlite3.0.tbd; sourceTree = SDKROOT; };
179181
40D550EF26A6AEFA00FE9F13 /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; };
180182
42A8F1745853F18AE3E9996B /* Pods-TRTC-API-Example-OC.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TRTC-API-Example-OC.release.xcconfig"; path = "Target Support Files/Pods-TRTC-API-Example-OC/Pods-TRTC-API-Example-OC.release.xcconfig"; sourceTree = "<group>"; };
@@ -349,7 +351,7 @@
349351
EB147B1F282E477900C0E2DC /* ThirdBeautyTencentEffectViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdBeautyTencentEffectViewController.m; sourceTree = "<group>"; };
350352
EB147B21282E477E00C0E2DC /* ThirdBeautyTencentEffectViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ThirdBeautyTencentEffectViewController.xib; sourceTree = "<group>"; };
351353
EBAF1EF2283243C600BE7998 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
352-
ED14F7FF2B957E7C00E52959 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
354+
ED14F7F32B91D5DA00E52959 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
353355
FC1FE5DC9D70E1703C9DD80A /* Pods-TXReplayKit_Screen.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TXReplayKit_Screen.debug.xcconfig"; path = "Target Support Files/Pods-TXReplayKit_Screen/Pods-TXReplayKit_Screen.debug.xcconfig"; sourceTree = "<group>"; };
354356
/* End PBXFileReference section */
355357

@@ -358,7 +360,8 @@
358360
isa = PBXFrameworksBuildPhase;
359361
buildActionMask = 2147483647;
360362
files = (
361-
ED14F8002B957E7C00E52959 /* CoreMotion.framework in Frameworks */,
363+
3976E57D2C608030000760FB /* MetalPerformanceShaders.framework in Frameworks */,
364+
ED14F7F42B91D5DA00E52959 /* CoreMotion.framework in Frameworks */,
362365
7DE039A8288AACC6009C3F1F /* Accelerate.framework in Frameworks */,
363366
7DE0399A288AABB0009C3F1F /* SystemConfiguration.framework in Frameworks */,
364367
7DE0399F288AAC32009C3F1F /* libc++.tbd in Frameworks */,
@@ -877,7 +880,8 @@
877880
88ED6FE02624364700C75B9D /* Frameworks */ = {
878881
isa = PBXGroup;
879882
children = (
880-
ED14F7FF2B957E7C00E52959 /* CoreMotion.framework */,
883+
3976E57C2C608030000760FB /* MetalPerformanceShaders.framework */,
884+
ED14F7F32B91D5DA00E52959 /* CoreMotion.framework */,
881885
88BC38A5284471F300814931 /* GLKit.framework */,
882886
EBAF1EF2283243C600BE7998 /* MobileCoreServices.framework */,
883887
880DC44928042E7200278CAC /* SystemConfiguration.framework */,

TRTC-API-Example-Swift/.DS_Store

0 Bytes
Binary file not shown.

TRTC-API-Example-Swift/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,4 @@ fastlane/test_output
8888
# https://github.com/johnno1962/injectionforxcode
8989

9090
iOSInjectionProject/
91+
.DS_Store

TRTC-API-Example-Swift/Advanced/PictureInPicture/PictureInPictureViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ extension PictureInPictureViewController {
470470
// MARK: - Button Event
471471
extension PictureInPictureViewController {
472472
@objc private func onPictureInPictureButtonClick(sender: UIButton) {
473-
// Enable picture-in-picture when clicking the picture-in-picture button
473+
//Enable picture-in-picture when clicking the picture-in-picture button
474474
guard let pipViewController = self.pipViewController else { return }
475475
if (pipViewController.isPictureInPictureActive) {
476476
pipViewController.stopPictureInPicture()

TRTC-API-Example-Swift/Basic/AudioCall/AudioCallingViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class AudioCallingViewController : UIViewController {
281281
// MARK: - UI Layout
282282
extension AudioCallingViewController {
283283

284-
// Build view
284+
//Build view
285285
private func constructViewHierarchy() {
286286
view.addSubview(userStatusTableView)
287287
view.addSubview(hansFreeButton)
@@ -299,7 +299,7 @@ extension AudioCallingViewController {
299299
}
300300
}
301301

302-
// view layout
302+
//view layout
303303
private func activateConstraints() {
304304
userStatusTableView.snp.makeConstraints { make in
305305
make.width.equalTo(300)
@@ -347,7 +347,7 @@ extension AudioCallingViewController {
347347

348348
}
349349

350-
// Binding events
350+
//Binding events
351351
private func bindInteraction() {
352352
userStatusTableView.delegate = self
353353
userStatusTableView.dataSource = self

TRTC-API-Example-Swift/Debug/GenerateTestUserSig.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ let SDKAPPID: Int = 0
5555
* Time unit: seconds
5656
*Default time: 7 x 24 x 60 x 60 = 604800 = 7 days
5757
*/
58-
let EXPIRETIME: Int = 604800
58+
let EXPIRETIME: Int = 0
5959

6060
/**
6161
* CDN publishing function mixed streaming appId
@@ -92,7 +92,6 @@ let SDKSECRETKEY = ""
9292
* The HMAC-SHA256 asymmetric encryption algorithm is used internally to encrypt SDKAPPID, userId and EXPIRETIME.
9393
*
9494
* @note: Please do not publish the following code into your online official version of the App for the following reasons:
95-
*
9695
* Although the code in this file can correctly calculate UserSig,
9796
* it is only suitable for quickly adjusting the basic functions of the SDK and is not suitable for online products.
9897
* This is because the SDKSECRETKEY in the client code is easily decompiled and reverse-engineered, especially the web-side code,
@@ -117,7 +116,6 @@ let PLAY_DOMAIN: String = ""
117116

118117
/**
119118
* Configured background service domain name, similar to: https://service-3vscss6c-xxxxxxxxxxx.gz.apigw.tencentcs.com"
120-
*
121119
* The small live broadcast backend provides services such as login and room list.
122120
* For more details, please see the document: https://cloud.tencent.com/document/product/454/38625
123121
*/

0 commit comments

Comments
 (0)