Increase the MAX_PAYLOAD to 1443

There's 2 bytes left in the budget after all media headers
This commit is contained in:
Aaro Altonen 2020-04-26 20:07:15 +03:00
parent 44276308c8
commit 98404d9316
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ typedef SSIZE_T ssize_t;
#endif
const int MAX_PACKET = 65536;
const int MAX_PAYLOAD = 1441;
const int MAX_PAYLOAD = 1443;
typedef enum RTP_ERROR {
RTP_INTERRUPTED = 2,