Skip to content

Commit dc8b6fd

Browse files
committed
release 2.1.7
1 parent 6ae86a4 commit dc8b6fd

9 files changed

Lines changed: 946 additions & 933 deletions

File tree

Example/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ PODS:
2828
- SJUIKit/ObserverHelper
2929
- SJUIKit/Queues
3030
- SJUIKit/SQLite3
31-
- SJMediaCacheServer (2.1.3):
32-
- SJMediaCacheServer/Core (= 2.1.3)
31+
- SJMediaCacheServer (2.1.6):
32+
- SJMediaCacheServer/Core (= 2.1.6)
3333
- SJUIKit/SQLite3
34-
- SJMediaCacheServer/Core (2.1.3):
34+
- SJMediaCacheServer/Core (2.1.6):
3535
- SJUIKit/SQLite3
3636
- SJUIKit/AttributesFactory (0.0.0.52):
3737
- SJUIKit/AttributesFactory/Deprecated (= 0.0.0.52)
@@ -86,7 +86,7 @@ EXTERNAL SOURCES:
8686
SPEC CHECKSUMS:
8787
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
8888
SJBaseVideoPlayer: c8f2fdb374ec2c946c37b1f39eee24f0812a979b
89-
SJMediaCacheServer: 333776e1614ae309aa9db561c9d2d711c6764bbd
89+
SJMediaCacheServer: eb3e0a15d00db5cbd6e8a0dc70f5e957d9bdb2d1
9090
SJUIKit: 8246b1001e616b0dbd090309fd58cdd609ae3fd4
9191
SJVideoPlayer: f819c5074aea5192fe624784f8a7e820e45b85cf
9292
YYModel: 2a7fdd96aaa4b86a824e26d0c517de8928c04b30

Example/Pods/Headers/Private/SJMediaCacheServer/MCSNetworkUtils.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Headers/Public/SJMediaCacheServer/MCSNetworkUtils.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Local Podspecs/SJMediaCacheServer.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/project.pbxproj

Lines changed: 929 additions & 921 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Target Support Files/SJMediaCacheServer/ResourceBundle-SJMediaCacheServer-SJMediaCacheServer-Info.plist

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SJMediaCacheServer.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'SJMediaCacheServer'
11-
s.version = '2.1.6'
11+
s.version = '2.1.7'
1212
s.summary = <<-DESC
1313
SJMediaCacheServer 是一个高效的 HTTP 媒体缓存框架,旨在代理媒体数据请求并优先提供缓存数据,从而减少网络流量并增强播放的流畅性。该框架支持两种类型的远程资源:基于文件的媒体,如 MP3、AAC、WAV、FLAC、OGG、MP4 和 MOV 等常见格式,以及 HLS(HTTP Live Streaming)流。它会自动解析 HLS 播放列表并代理各个媒体片段。
1414
DESC

SJMediaCacheServer/SJMediaCacheServer.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ - (instancetype)init {
4343
_server.onConnect = ^(MCTcpSocketConnection * _Nonnull connection) {
4444
[MCHttpResponse processConnection:connection];
4545
};
46+
__weak typeof(self) _self = self;
4647
_server.onListen = ^(uint16_t port) {
48+
__strong typeof(_self) self = _self;
49+
if ( self == nil ) return;
4750
// Get device IP address for AirPlay support
4851
NSString *deviceIP = @"127.0.0.1"; // Default to localhost
4952
if (self->_enableAirPlaySupport) {

0 commit comments

Comments
 (0)