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-01-17 10:33:55 +00:00
2017-10-30 18:08:29 +00:00
2018-02-13 10:47:24 +00:00
2018-02-13 10:47:24 +00:00
2018-02-13 10:47:24 +00:00
2017-12-22 00:22:23 +00:00
2017-12-12 09:27:07 +00:00
2018-02-13 10:47:24 +00:00
2017-10-30 18:08:29 +00:00
2018-02-03 19:28:58 +00:00
2018-02-13 10:47:24 +00:00
2018-02-13 10:47:24 +00:00
2018-02-13 10:47:24 +00:00
2018-02-13 10:47:24 +00:00
2017-10-30 18:08:29 +00:00
2018-02-13 10:47:24 +00:00