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

RTC: Fix warning

This commit is contained in:
winlin 2020-08-06 17:59:14 +08:00
parent bbd51e3338
commit cfb44f0ef8

View file

@ -2762,8 +2762,6 @@ srs_error_t SrsRtcConnection::negotiate_play_capability(SrsRequest* req, SrsRtcS
std::map<uint32_t, SrsRtcTrackDescription*>& sub_relations) std::map<uint32_t, SrsRtcTrackDescription*>& sub_relations)
{ {
srs_error_t err = srs_success; srs_error_t err = srs_success;
bool nack_enabled = _srs_config->get_rtc_nack_enabled(req->vhost);
bool twcc_enabled = _srs_config->get_rtc_twcc_enabled(req->vhost);
SrsRtcStream* source = NULL; SrsRtcStream* source = NULL;
if ((err = _srs_rtc_sources->fetch_or_create(req, &source)) != srs_success) { if ((err = _srs_rtc_sources->fetch_or_create(req, &source)) != srs_success) {