支持centerStageEnabled

This commit is contained in:
caleb
2026-03-27 20:04:16 +08:00
parent 166d6cee8c
commit 1280075308
20 changed files with 25 additions and 18 deletions

8
.gitignore vendored
View File

@@ -1,5 +1,5 @@
# macOS # macOS
.DS_Store **/.DS_Store
# Xcode # Xcode
build/ build/
@@ -33,4 +33,8 @@ Carthage/Build
# Note: if you ignore the Pods directory, make sure to uncomment # Note: if you ignore the Pods directory, make sure to uncomment
# `pod install` in .travis.yml # `pod install` in .travis.yml
# #
# Pods/ Pods/
_Pods.xcodeproj
# Claude Code
.claude/

View File

@@ -32,7 +32,7 @@ PODS:
- Logboard (2.5.0) - Logboard (2.5.0)
- Masonry (1.1.0) - Masonry (1.1.0)
- MBProgressHUD (1.2.0) - MBProgressHUD (1.2.0)
- Reachability (3.7.6) - Reachability (3.7.7)
- ReactiveObjC (3.1.1) - ReactiveObjC (3.1.1)
- SDWebImage (5.21.3): - SDWebImage (5.21.3):
- SDWebImage/Core (= 5.21.3) - SDWebImage/Core (= 5.21.3)
@@ -52,7 +52,6 @@ PODS:
- YYModel (1.0.4) - YYModel (1.0.4)
DEPENDENCIES: DEPENDENCIES:
- CocoaLumberjack
- FBSnapshotTestCase - FBSnapshotTestCase
- FUBeautyComponent (from `./SubModules/FUBeautyComponent`) - FUBeautyComponent (from `./SubModules/FUBeautyComponent`)
- FUCommonUIComponent (from `./SubModules/FUCommonUIComponent`) - FUCommonUIComponent (from `./SubModules/FUCommonUIComponent`)
@@ -99,7 +98,7 @@ SPEC CHECKSUMS:
Logboard: 4674a3d86681539a0ad1fca528d888b90871e268 Logboard: 4674a3d86681539a0ad1fca528d888b90871e268
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201 Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406 MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
Reachability: fd0ecd23705e2599e4cceeb943222ae02296cbc6 Reachability: 8bf74b755b2993968c344b465c13e602db2b1044
ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040 ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040
SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a
SellyCloudSDK: 12df57bb234809b1f8c78d2e157950bdc6781ac4 SellyCloudSDK: 12df57bb234809b1f8c78d2e157950bdc6781ac4
@@ -107,6 +106,6 @@ SPEC CHECKSUMS:
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30 YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30
PODFILE CHECKSUM: 528df14e081815f7cbd122b8f4f77b0da0d6a7f8 PODFILE CHECKSUM: c2aa6dc3864337771ddfc024c87b95d471dc286d
COCOAPODS: 1.16.2 COCOAPODS: 1.16.2

View File

@@ -32,7 +32,7 @@ PODS:
- Logboard (2.5.0) - Logboard (2.5.0)
- Masonry (1.1.0) - Masonry (1.1.0)
- MBProgressHUD (1.2.0) - MBProgressHUD (1.2.0)
- Reachability (3.7.6) - Reachability (3.7.7)
- ReactiveObjC (3.1.1) - ReactiveObjC (3.1.1)
- SDWebImage (5.21.3): - SDWebImage (5.21.3):
- SDWebImage/Core (= 5.21.3) - SDWebImage/Core (= 5.21.3)
@@ -52,7 +52,6 @@ PODS:
- YYModel (1.0.4) - YYModel (1.0.4)
DEPENDENCIES: DEPENDENCIES:
- CocoaLumberjack
- FBSnapshotTestCase - FBSnapshotTestCase
- FUBeautyComponent (from `./SubModules/FUBeautyComponent`) - FUBeautyComponent (from `./SubModules/FUBeautyComponent`)
- FUCommonUIComponent (from `./SubModules/FUCommonUIComponent`) - FUCommonUIComponent (from `./SubModules/FUCommonUIComponent`)
@@ -99,7 +98,7 @@ SPEC CHECKSUMS:
Logboard: 4674a3d86681539a0ad1fca528d888b90871e268 Logboard: 4674a3d86681539a0ad1fca528d888b90871e268
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201 Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406 MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
Reachability: fd0ecd23705e2599e4cceeb943222ae02296cbc6 Reachability: 8bf74b755b2993968c344b465c13e602db2b1044
ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040 ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040
SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a
SellyCloudSDK: 12df57bb234809b1f8c78d2e157950bdc6781ac4 SellyCloudSDK: 12df57bb234809b1f8c78d2e157950bdc6781ac4
@@ -107,6 +106,6 @@ SPEC CHECKSUMS:
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30 YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30
PODFILE CHECKSUM: 528df14e081815f7cbd122b8f4f77b0da0d6a7f8 PODFILE CHECKSUM: c2aa6dc3864337771ddfc024c87b95d471dc286d
COCOAPODS: 1.16.2 COCOAPODS: 1.16.2

View File

@@ -29,7 +29,6 @@
#import <sys/socket.h> #import <sys/socket.h>
#import <netinet/in.h> #import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h> #import <arpa/inet.h>
#import <ifaddrs.h> #import <ifaddrs.h>
#import <netdb.h> #import <netdb.h>

View File

@@ -77,7 +77,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
## Reachability ## Reachability
Copyright (c) 2011, Tony Million. Copyright (c) 2011-2026, Tony Million.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@@ -106,7 +106,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</dict> </dict>
<dict> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Copyright (c) 2011, Tony Million. <string>Copyright (c) 2011-2026, Tony Million.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@@ -144,7 +144,7 @@ THE SOFTWARE.
## Reachability ## Reachability
Copyright (c) 2011, Tony Million. Copyright (c) 2011-2026, Tony Million.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@@ -191,7 +191,7 @@ THE SOFTWARE.</string>
</dict> </dict>
<dict> <dict>
<key>FooterText</key> <key>FooterText</key>
<string>Copyright (c) 2011, Tony Million. <string>Copyright (c) 2011-2026, Tony Million.
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

View File

@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>3.7.6</string> <string>3.7.7</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>

View File

@@ -13,7 +13,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>BNDL</string> <string>BNDL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>3.7.6</string> <string>3.7.7</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>

View File

@@ -426,6 +426,7 @@
else { else {
self.livePusher = [[SellyLiveVideoPusher alloc] initWithLiveMode:SellyLiveMode_RTMP]; self.livePusher = [[SellyLiveVideoPusher alloc] initWithLiveMode:SellyLiveMode_RTMP];
} }
self.livePusher.centerStageEnabled = true;
self.livePusher.preview = self.liveView; self.livePusher.preview = self.liveView;
self.livePusher.delegate = self; self.livePusher.delegate = self;
self.livePusher.enableCustomVideoProcess = true; self.livePusher.enableCustomVideoProcess = true;

View File

@@ -1,6 +1,6 @@
#if 0 #if 0
#elif defined(__arm64__) && __arm64__ #elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2) // Generated by Apple Swift version 6.2.4 effective-5.10 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
#ifndef SELLYCLOUDSDK_SWIFT_H #ifndef SELLYCLOUDSDK_SWIFT_H
#define SELLYCLOUDSDK_SWIFT_H #define SELLYCLOUDSDK_SWIFT_H
#pragma clang diagnostic push #pragma clang diagnostic push

View File

@@ -117,6 +117,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, assign)SellyLiveVideoConfiguration *videoConfig; @property (nonatomic, assign)SellyLiveVideoConfiguration *videoConfig;
//token //token
@property (nonatomic, strong)NSString *token; @property (nonatomic, strong)NSString *token;
/// 是否启用 Center Stage人物居中默认 NO
/// 支持运行时动态切换,不支持的设备设置无效
@property (nonatomic, assign) BOOL centerStageEnabled;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

Binary file not shown.