Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: webrtc/api/test/fakeconstraints.h

Issue 2224563004: Add signaling to support ICE renomination. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/test/fakeconstraints.h
diff --git a/webrtc/api/test/fakeconstraints.h b/webrtc/api/test/fakeconstraints.h
index 82c6728c5d3ea6e7440ea1ca916c8334b3007b1a..27baef1ee9478fa30995e9c20e0b8153aad851bc 100644
--- a/webrtc/api/test/fakeconstraints.h
+++ b/webrtc/api/test/fakeconstraints.h
@@ -106,6 +106,10 @@ class FakeConstraints : public webrtc::MediaConstraintsInterface {
SetMandatory(MediaConstraintsInterface::kEnableDtlsSrtp, true);
}
+ void SetOptionalIceRenomination(bool enable) {
+ AddOptional(MediaConstraintsInterface::kIceRenomination, enable);
+ }
+
private:
Constraints mandatory_;
Constraints optional_;

Powered by Google App Engine
This is Rietveld 408576698