Chromium Code Reviews

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: Merge with head Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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