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:
parent
acbbdf51d6
commit
32efc71ba9
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue