mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
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
This commit is contained in:
2
third-party/pjproject/patches/config_site.h
vendored
2
third-party/pjproject/patches/config_site.h
vendored
@@ -65,7 +65,7 @@
|
||||
Enabling it will result in SEGFAULTS when URIs containing escape sequences are encountered.
|
||||
*/
|
||||
#undef PJSIP_UNESCAPE_IN_PLACE
|
||||
#define PJSIP_MAX_PKT_LEN 32000
|
||||
#define PJSIP_MAX_PKT_LEN 65535
|
||||
|
||||
#undef PJ_TODO
|
||||
#define PJ_TODO(x)
|
||||
|
Reference in New Issue
Block a user