Fix comment about remote restart being requested in createOffer
BUG=None Review-Url: https://codereview.webrtc.org/2837153002 Cr-Commit-Position: refs/heads/master@{#17870}
This commit is contained in:
parent
7885d3f5c6
commit
6275dfdd06
@ -378,7 +378,7 @@ void WebRtcSessionDescriptionFactory::InternalCreateOffer(
|
||||
for (const cricket::ContentInfo& content :
|
||||
session_->local_description()->description()->contents()) {
|
||||
// Include all local ICE candidates in the SessionDescription unless
|
||||
// the remote peer has requested an ICE restart.
|
||||
// an ICE restart was requested.
|
||||
if (!request.options.transport_options[content.name].ice_restart) {
|
||||
CopyCandidatesFromSessionDescription(session_->local_description(),
|
||||
content.name, offer);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user