1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Fix the STAP NRI flag

This commit is contained in:
winlin 2020-04-12 01:05:32 +08:00
parent acbbdf51d6
commit 32efc71ba9

View file

@ -851,7 +851,6 @@ srs_error_t SrsRtcSenderThread::packet_stap_a(SrsSource* source, SrsSharedPtrMes
SrsRtpSTAPPayload* stap = new SrsRtpSTAPPayload();
uint8_t header = sps[0];
uint8_t nal_type = header & kNalTypeMask;
stap->nri = (SrsAvcNaluType)header;
stap->nn_nalus = 2;