зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1629422 - Eliminating redundant initialization in MediaTransportHandler r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D76770
This commit is contained in:
Родитель
0d860681b7
Коммит
2c81dcfe0b
|
@ -1216,9 +1216,8 @@ RefPtr<TransportFlow> MediaTransportHandlerSTS::CreateTransportFlow(
|
|||
// Always permits negotiation of the confidential mode.
|
||||
// Only allow non-confidential (which is an allowed default),
|
||||
// if we aren't confidential.
|
||||
std::set<std::string> alpn;
|
||||
std::string alpnDefault = "";
|
||||
alpn.insert("c-webrtc");
|
||||
std::set<std::string> alpn = {"c-webrtc"};
|
||||
std::string alpnDefault;
|
||||
if (!aPrivacyRequested) {
|
||||
alpnDefault = "webrtc";
|
||||
alpn.insert(alpnDefault);
|
||||
|
|
Загрузка…
Ссылка в новой задаче