1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix HEVC STAP payload decoding in RTP

This commit is contained in:
Haibo Chen 2025-02-24 14:39:10 +08:00
parent 6363ed3e27
commit 4733e7f087

View file

@ -1657,6 +1657,7 @@ srs_error_t SrsRtpSTAPPayloadHevc::decode(SrsBuffer* buf)
// STAP header, RTP payload format for aggregation packets
// @see https://datatracker.ietf.org/doc/html/rfc7798#section-4.4.2
uint8_t v = buf->read_1bytes();
buf->skip(1);
// forbidden_zero_bit shoul be zero.
// @see https://datatracker.ietf.org/doc/html/rfc7798#section-4.4.2