1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00

For #307: Change the RTP payload to 1300

This commit is contained in:
winlin 2020-04-15 12:05:27 +08:00
parent b5f2c842fe
commit bfc70d6482

View file

@ -64,7 +64,7 @@ using namespace std;
// kRtpPacketSize = kRtpMaxPayloadSize + paddings
// For example, if kRtpPacketSize is 1500, recommend to set kRtpMaxPayloadSize to 1400,
// which reserves 100 bytes for SRTP or paddings.
const int kRtpMaxPayloadSize = kRtpPacketSize - 100;
const int kRtpMaxPayloadSize = kRtpPacketSize - 200;
static bool is_stun(const uint8_t* data, const int size)
{