зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1253706: Allow empty list of STUN/TURN servers to be set. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D135368
This commit is contained in:
Родитель
11a44236c6
Коммит
bd9b8e270e
|
@ -766,8 +766,6 @@ NrIceCtx::Controlling NrIceCtx::GetControlling() {
|
|||
|
||||
nsresult NrIceCtx::SetStunServers(
|
||||
const std::vector<NrIceStunServer>& stun_servers) {
|
||||
if (stun_servers.empty()) return NS_OK;
|
||||
|
||||
// We assume nr_ice_stun_server is memmoveable. That's true right now.
|
||||
std::vector<nr_ice_stun_server> servers;
|
||||
|
||||
|
@ -795,8 +793,6 @@ nsresult NrIceCtx::SetStunServers(
|
|||
// Could we do a template or something?
|
||||
nsresult NrIceCtx::SetTurnServers(
|
||||
const std::vector<NrIceTurnServer>& turn_servers) {
|
||||
if (turn_servers.empty()) return NS_OK;
|
||||
|
||||
// We assume nr_ice_turn_server is memmoveable. That's true right now.
|
||||
std::vector<nr_ice_turn_server> servers;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче