mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +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…
Add table
Add a link
Reference in a new issue