1
0
Fork 0
forked from External/mediamtx

fix error "frame length greater than maximum allowed" (#229)

This commit is contained in:
aler9 2021-03-10 19:55:26 +01:00
parent 17d0a361c8
commit 09cbeae60f
4 changed files with 96 additions and 0 deletions

View file

@ -193,6 +193,7 @@ func (p *program) createResources(initial bool) error {
p.conf.ReadTimeout,
p.conf.WriteTimeout,
p.conf.ReadBufferCount,
p.conf.ReadBufferSize,
useUDP,
p.conf.RTPPort,
p.conf.RTCPPort,
@ -215,6 +216,7 @@ func (p *program) createResources(initial bool) error {
p.conf.ReadTimeout,
p.conf.WriteTimeout,
p.conf.ReadBufferCount,
p.conf.ReadBufferSize,
false,
0,
0,