mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, zero copy for RTP STAP packet
This commit is contained in:
parent
4b2404c203
commit
aa81b47c9a
8 changed files with 191 additions and 55 deletions
|
@ -48,11 +48,7 @@ const int kRtpPacketSize = 1500;
|
|||
const uint8_t kOpusPayloadType = 111;
|
||||
const uint8_t kH264PayloadType = 102;
|
||||
|
||||
// H.264 nalu header type mask.
|
||||
const uint8_t kNalTypeMask = 0x1F;
|
||||
|
||||
// @see: https://tools.ietf.org/html/rfc6184#section-5.2
|
||||
const uint8_t kStapA = 24;
|
||||
const uint8_t kFuA = 28;
|
||||
|
||||
// @see: https://tools.ietf.org/html/rfc6184#section-5.8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue