From 573655bf902b02e67aec6310865f11b52ceeead2 Mon Sep 17 00:00:00 2001 From: Huiping Guo Date: Tue, 17 Oct 2023 23:43:15 +0900 Subject: [PATCH] make chunksize bigger --- Sources/HPRTMP/RTMPPublishSession.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/HPRTMP/RTMPPublishSession.swift b/Sources/HPRTMP/RTMPPublishSession.swift index d8fde9c..c050deb 100644 --- a/Sources/HPRTMP/RTMPPublishSession.swift +++ b/Sources/HPRTMP/RTMPPublishSession.swift @@ -144,7 +144,7 @@ extension RTMPPublishSession: RTMPSocketDelegate { await socket.send(message: message, firstType: true) // make chunk size more bigger - let chunkSize: UInt32 = 128 * 6 + let chunkSize: UInt32 = 128 * 60 let size = ChunkSizeMessage(size: chunkSize) await socket.send(message: size, firstType: true) }