mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1442385: Remove old onremovestream event stuff. r=jib,smaug
MozReview-Commit-ID: Bay5NvTsTFU --HG-- extra : rebase_source : 7eba187b24ed9893abd2b2ec9b0f89c2a9d00689
This commit is contained in:
parent
bbc27fbc20
commit
10af499fbf
@ -443,7 +443,6 @@ class RTCPeerConnection {
|
||||
this.makeGetterSetterEH("onicecandidate");
|
||||
this.makeGetterSetterEH("onnegotiationneeded");
|
||||
this.makeGetterSetterEH("onsignalingstatechange");
|
||||
this.makeGetterSetterEH("onremovestream");
|
||||
this.makeGetterSetterEH("ondatachannel");
|
||||
this.makeGetterSetterEH("oniceconnectionstatechange");
|
||||
this.makeGetterSetterEH("onicegatheringstatechange");
|
||||
@ -1834,11 +1833,6 @@ class PeerConnectionObserver {
|
||||
this._dompc._onGetStatsFailure(this.newError(message, code));
|
||||
}
|
||||
|
||||
onRemoveStream(stream) {
|
||||
this.dispatchEvent(new this._dompc._win.MediaStreamEvent("removestream",
|
||||
{ stream }));
|
||||
}
|
||||
|
||||
_getTransceiverWithRecvTrack(webrtcTrackId) {
|
||||
return this._dompc.getTransceivers().find(
|
||||
transceiver => transceiver.remoteTrackIdIs(webrtcTrackId));
|
||||
|
@ -34,9 +34,6 @@ interface PeerConnectionObserver
|
||||
/* Notification of one of several types of state changed */
|
||||
void onStateChange(PCObserverStateType state);
|
||||
|
||||
/* Changes to MediaStreamTracks */
|
||||
void onRemoveStream(MediaStream stream);
|
||||
|
||||
/* Transceiver management; called when setRemoteDescription causes a
|
||||
transceiver to be created on the C++ side */
|
||||
void onTransceiverNeeded(DOMString kind, TransceiverImpl transceiverImpl);
|
||||
|
Loading…
Reference in New Issue
Block a user