1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00

Refine code

This commit is contained in:
winlin 2021-02-27 20:05:28 +08:00
parent cca5f8db82
commit 00b0e22402

View file

@ -1203,7 +1203,7 @@ srs_error_t SrsRtcPublishStream::do_on_rtp_plaintext(SrsRtpPacket2* pkt, SrsBuff
pkt->set_decode_handler(this);
pkt->set_extension_types(&extension_types_);
pkt->ignore_padding(false);
pkt->header.ignore_padding(false);
if ((err = pkt->decode(buf)) != srs_success) {
return srs_error_wrap(err, "decode rtp packet");