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:
parent
bbd51e3338
commit
cfb44f0ef8
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue