webrtc tcp模式支持Firefox
This commit is contained in:
parent
b6f902fbe4
commit
f05425825f
|
|
@ -602,6 +602,9 @@ makeIceCandidate(std::string ip, uint16_t port, uint32_t priority = 100, std::st
|
|||
candidate->address = ip;
|
||||
candidate->port = port;
|
||||
candidate->type = "host";
|
||||
if (proto == "tcp") {
|
||||
candidate->type += " tcptype passive";
|
||||
}
|
||||
return candidate;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue