Renegotiate on remote description error
parent
e272e387d3
commit
b3bb3d2d51
|
|
@ -1073,6 +1073,10 @@ void LLWebRTCPeerConnectionImpl::OnSuccess(webrtc::SessionDescriptionInterface *
|
|||
void LLWebRTCPeerConnectionImpl::OnFailure(webrtc::RTCError error)
|
||||
{
|
||||
RTC_LOG(LS_ERROR) << ToString(error.type()) << ": " << error.message();
|
||||
for (auto &observer : mSignalingObserverList)
|
||||
{
|
||||
observer->OnRenegotiationNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
|
@ -1086,6 +1090,10 @@ void LLWebRTCPeerConnectionImpl::OnSetRemoteDescriptionComplete(webrtc::RTCError
|
|||
if (!error.ok())
|
||||
{
|
||||
RTC_LOG(LS_ERROR) << ToString(error.type()) << ": " << error.message();
|
||||
for (auto &observer : mSignalingObserverList)
|
||||
{
|
||||
observer->OnRenegotiationNeeded();
|
||||
}
|
||||
return;
|
||||
}
|
||||
mAnswerReceived = true;
|
||||
|
|
|
|||
|
|
@ -2733,8 +2733,8 @@ void LLVoiceWebRTCConnection::OnDataReceivedImpl(const std::string &data, bool b
|
|||
LLUUID agent_id(participant_id);
|
||||
if (agent_id.isNull())
|
||||
{
|
||||
LL_WARNS("Voice") << "Bad participant ID from data channel (" << participant_id << "):" << data << LL_ENDL;
|
||||
continue;
|
||||
// probably a test client.
|
||||
continue;
|
||||
}
|
||||
|
||||
LLWebRTCVoiceClient::participantStatePtr_t participant =
|
||||
|
|
|
|||
Loading…
Reference in New Issue