mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
db0090be05
commit
561acd26c5
2 changed files with 3 additions and 2 deletions
|
@ -1921,7 +1921,7 @@ void SrsRtcVideoRecvTrack::on_before_decode_payload(SrsRtpPacket2* pkt, SrsBuffe
|
|||
uint8_t v = (uint8_t)pkt->nalu_type;
|
||||
if (v == kStapA) {
|
||||
*ppayload = new SrsRtpSTAPPayload();
|
||||
*ppt = SrsRtpPacketPayloadTypeUnknown;
|
||||
*ppt = SrsRtpPacketPayloadTypeSTAP;
|
||||
} else if (v == kFuA) {
|
||||
*ppayload = _srs_rtp_fua_cache->allocate();
|
||||
*ppt = SrsRtpPacketPayloadTypeFUA2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue