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:
parent
b5f2c842fe
commit
bfc70d6482
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue