Skip to content

Commit

Permalink
make chunksize bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
huiping192 committed Oct 17, 2023
1 parent 9c8095a commit 573655b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HPRTMP/RTMPPublishSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 573655b

Please sign in to comment.