mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS4: Update comments and performance data
This commit is contained in:
parent
4692e8b8ad
commit
45b83bd22e
3 changed files with 19 additions and 1 deletions
|
@ -1040,6 +1040,7 @@ srs_error_t SrsRtpPacket2::decode(SrsBuffer* buf)
|
|||
nalu_type = SrsAvcNaluType((uint8_t)(buf->head()[0] & kNalTypeMask));
|
||||
}
|
||||
|
||||
// TODO: FIXME: We should keep payload to NULL and return if buffer is empty.
|
||||
// If user set the decode handler, call it to set the payload.
|
||||
if (decode_handler) {
|
||||
decode_handler->on_before_decode_payload(this, buf, &payload_, &payload_type_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue