mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Ignore NACK when disable for player.
This commit is contained in:
parent
0aeaf442f7
commit
74f63d6b14
1 changed files with 1 additions and 1 deletions
|
@ -1962,7 +1962,7 @@ srs_error_t SrsRtcVideoRecvTrack::on_rtp(SrsRtcStream* source, SrsRtpPacket2* pk
|
||||||
}
|
}
|
||||||
|
|
||||||
// For NACK to handle packet.
|
// For NACK to handle packet.
|
||||||
if ((err = on_nack(pkt)) != srs_success) {
|
if (nack_enabled_ && (err = on_nack(pkt)) != srs_success) {
|
||||||
return srs_error_wrap(err, "on nack");
|
return srs_error_wrap(err, "on nack");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue