]> git.ipfire.org Git - thirdparty/asterisk.git/commit
websocket / pjsip: Increase maximum packet size.
authorJoshua C. Colp <jcolp@sangoma.com>
Wed, 22 Jul 2020 17:57:44 +0000 (14:57 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 23 Jul 2020 12:30:25 +0000 (07:30 -0500)
commita613e07e76f0060928dfb416a3bf43e5e4789cc5
tree93650b9bf34fc92f362b4c1a9064022d5acfe525
parentba1472b96088a4a6087bc92091672845523e6b60
websocket / pjsip: Increase maximum packet size.

When dealing with a lot of video streams on WebRTC
the resulting SDPs can grow to be quite large. This
effectively doubles the maximum size to allow more
streams to exist.

The res_http_websocket module has also been changed
to use a buffer on the session for reading in packets
to ensure that the stack space usage is not excessive.

Change-Id: I31d4351d70c8e2c11564807a7528b984f3fbdd01
res/res_http_websocket.c
res/res_pjsip_pubsub.c
third-party/pjproject/patches/config_site.h