Steve Anton 71439a60e7 Set session error if SetLocal/RemoteDescription ever fails
This changes SetLocalDescription/SetRemoteDescription to set a
session error which will cause any future calls to fail early if
there is an error when applying a session description.

This is needed since until better error recovery is implemented
failing a call to SetLocalDescription or SetRemoteDescription
could leave the PeerConnection in an inconsistent state.

Bug: chromium:800775
Change-Id: If06fd73d6e902af15d072dc562bbe830d3b11ad5
Reviewed-on: https://webrtc-review.googlesource.com/54061
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22061}
2018-02-16 19:39:59 +00:00
..
2018-02-13 10:47:24 +00:00
2017-11-25 19:03:41 +00:00
2017-11-27 13:56:22 +00:00
2018-02-13 10:47:24 +00:00
2017-12-18 09:21:03 +00:00
2018-02-13 10:47:24 +00:00
2018-01-25 19:12:14 +00:00
2018-02-13 10:47:24 +00:00
2017-12-18 08:44:43 +00:00
2017-12-18 08:44:43 +00:00
2018-02-15 16:10:15 +00:00
2018-02-15 16:10:15 +00:00