DescriptionFix the Chromium crash when creating an answer without a remote description.
Replacing the RTC_DCHECK with an if condition so that the method GetOptionsForAnswer
won't crash when there is no remote description. WebRtcSessionDescriptionFactory
will handle the null remote description.
TBR=deadbeef@webrtc.org
BUG=chromium:757830
Review-Url: https://codereview.webrtc.org/3006723002
Cr-Commit-Position: refs/heads/master@{#19589}
Committed: https://chromium.googlesource.com/external/webrtc/+/141aacbf0b2df237e3e509ead278b770a2a04ad7
Patch Set 1 #Patch Set 2 : Add a unit test. #
Messages
Total messages: 21 (17 generated)
|