mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
Only discover api server ip as candidate.
This commit is contained in:
parent
6919011e86
commit
51ca3fd80a
1 changed files with 1 additions and 2 deletions
|
@ -178,8 +178,7 @@ srs_error_t api_server_as_candidates(string api, set<string>& candidate_ips)
|
|||
return err;
|
||||
}
|
||||
|
||||
// Try to add the original hostname and ip as candidates.
|
||||
candidate_ips.insert(hostname);
|
||||
// Try to add the API server ip as candidates.
|
||||
candidate_ips.insert(ip);
|
||||
|
||||
return err;
|
||||
|
|
Loading…
Reference in a new issue