onnegotiationneeded should only be called once
[WebKit-https.git] / Source / WebCore / Modules / mediastream / PeerConnectionBackend.h
index fedf113..555bfb8 100644 (file)
@@ -96,6 +96,7 @@ public:
     virtual Ref<RTCRtpReceiver> createReceiver(const String& transceiverMid, const String& trackKind, const String& trackId) = 0;
     virtual void replaceTrack(RTCRtpSender&, Ref<MediaStreamTrack>&&, DOMPromise<void>&&) = 0;
     virtual void notifyAddedTrack(RTCRtpSender&) { }
+    virtual void notifyRemovedTrack(RTCRtpSender&) { }
 
     virtual RTCRtpParameters getParameters(RTCRtpSender&) const { return { }; }