Bug 1442385: Remove old onremovestream event stuff. r=jib,smaug

MozReview-Commit-ID: Bay5NvTsTFU

--HG--
extra : rebase_source : 7eba187b24ed9893abd2b2ec9b0f89c2a9d00689
This commit is contained in:
Byron Campen [:bwc] 2018-03-01 14:39:07 -06:00
parent bbc27fbc20
commit 10af499fbf
2 changed files with 0 additions and 9 deletions

View File

@ -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));

View File

@ -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);