mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #2852: WebRTC: Support only one TCP connected candidate.
This commit is contained in:
parent
efa0851476
commit
2144ff8c40
4 changed files with 51 additions and 13 deletions
|
@ -551,7 +551,6 @@ srs_error_t SrsRtcServer::do_create_session(SrsRtcUserConfig* ruc, SrsSdp& local
|
|||
int tcp_port = _srs_config->get_rtc_server_tcp_listen();
|
||||
string protocol = _srs_config->get_rtc_server_protocol();
|
||||
|
||||
// TODO: FIXME: Should support only one TCP candidate.
|
||||
set<string> candidates = discover_candidates(ruc);
|
||||
for (set<string>::iterator it = candidates.begin(); it != candidates.end(); ++it) {
|
||||
string hostname;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue