Implement rollback for setRemoteDescription

Bug: chromium:980875
Change-Id: I4575e9ad1902a20937f9812f49edee2a2441f76d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153525
Commit-Queue: Eldar Rello <elrello@microsoft.com>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29422}
This commit is contained in:
Eldar Rello
2019-10-09 18:29:44 +03:00
committed by Commit Bot
parent 5963c7cf0a
commit 16d4c4d4fb
13 changed files with 471 additions and 20 deletions

View File

@ -659,6 +659,9 @@ class RTC_EXPORT PeerConnectionInterface : public rtc::RefCountInterface {
// logs with TURN server logs. It will not be added if it's an empty string.
std::string turn_logging_id;
// Added to be able to control rollout of this feature.
bool enable_implicit_rollback = false;
//
// Don't forget to update operator== if adding something.
//