mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +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
|
// kRtpPacketSize = kRtpMaxPayloadSize + paddings
|
||||||
// For example, if kRtpPacketSize is 1500, recommend to set kRtpMaxPayloadSize to 1400,
|
// For example, if kRtpPacketSize is 1500, recommend to set kRtpMaxPayloadSize to 1400,
|
||||||
// which reserves 100 bytes for SRTP or paddings.
|
// 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)
|
static bool is_stun(const uint8_t* data, const int size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue