1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Check error for send_rtcp_fb_pli

This commit is contained in:
winlin 2020-08-05 18:06:54 +08:00
parent 5c853e02ee
commit 70d561421c
2 changed files with 6 additions and 6 deletions

View file

@ -2226,10 +2226,7 @@ srs_error_t SrsRtcConnection::send_rtcp_fb_pli(uint32_t ssrc)
return srs_error_wrap(err, "protect rtcp psfb pli");
}
// TDOO: FIXME: Check error.
sendonly_skt->sendto(protected_buf, nb_protected_buf, 0);
return err;
return sendonly_skt->sendto(protected_buf, nb_protected_buf, 0);
}
void SrsRtcConnection::simulate_nack_drop(int nn)