mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Internal change
PiperOrigin-RevId: 360559648
This commit is contained in:
@@ -495,7 +495,7 @@ void WebRtc::SendOffer(const std::string& service_id,
|
||||
}
|
||||
|
||||
const webrtc::SessionDescriptionInterface& sdp = offer.GetSdp();
|
||||
if (!connection_flow->SetLocalSessionDescription(std::move(offer))) {
|
||||
if (!connection_flow->SetLocalSessionDescription(offer)) {
|
||||
NEARBY_LOG(INFO,
|
||||
"Unable to send offer. Failed to register our offer locally.");
|
||||
RemoveConnectionFlow(remote_peer_id);
|
||||
@@ -554,7 +554,7 @@ void WebRtc::SendAnswer(const PeerId& remote_peer_id) {
|
||||
}
|
||||
|
||||
const webrtc::SessionDescriptionInterface& sdp = answer.GetSdp();
|
||||
if (!entry->second->SetLocalSessionDescription(std::move(answer))) {
|
||||
if (!entry->second->SetLocalSessionDescription(answer)) {
|
||||
NEARBY_LOG(INFO,
|
||||
"Unable to send answer. Failed to register our answer locally.");
|
||||
RemoveConnectionFlow(remote_peer_id);
|
||||
|
||||
Reference in New Issue
Block a user