summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc.h
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2024-05-16 12:00:45 -0700
committerRoxie Linden <roxie@lindenlab.com>2024-05-16 12:00:45 -0700
commitc6e147ff224e1adc9a498d4a06ad54fff710d704 (patch)
treecb97291843f7784b33d2b3e369a91bd8b09f6e29 /indra/llwebrtc/llwebrtc.h
parent57b99aec74783c323738bd5a130c82c8dbf379c2 (diff)
Race condition resulted in close causing removal of peer connection while other jobs might be using it.
Diffstat (limited to 'indra/llwebrtc/llwebrtc.h')
-rw-r--r--indra/llwebrtc/llwebrtc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.h b/indra/llwebrtc/llwebrtc.h
index ac71e0c744..ecbab81538 100644
--- a/indra/llwebrtc/llwebrtc.h
+++ b/indra/llwebrtc/llwebrtc.h
@@ -212,6 +212,9 @@ class LLWebRTCSignalingObserver
// Called when a connection enters a failure state and renegotiation is needed.
virtual void OnRenegotiationNeeded() = 0;
+ // Called when a peer connection has shut down
+ virtual void OnPeerConnectionClosed() = 0;
+
// Called when the audio channel has been established and audio
// can begin.
virtual void OnAudioEstablished(LLWebRTCAudioInterface *audio_interface) = 0;