deepch / vdk

A set of libraries for building streaming services. RTSP RTMP MP4 WS TS DASH WEBRTC MP4f

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

writeSetChunkSize too big.

cgoder opened this issue · comments

if err = self.writeSetChunkSize(1024 * 1024 * 128); err != nil {

push stream to rtmp server. will be error as:

2021/03/10 09:20:50 [alert] 8#8: *10 too big RTMP chunk size:134217728, client: 172.17.0.1, server: 0.0.0.0:1935 2021/03/10 09:21:14 [alert] 8#8: *11 too big RTMP chunk size:134217728, client: 172.17.0.1, server: 0.0.0.0:1935

and connect to play this stream be reject. return EOF.

AND, set the chunksize with 1024,or 128*1024 is ok.

Thank you so much, I will fix this in the next release.