Skip to content

Commit cc5bafc

Browse files
calebboydhthetiot
authored andcommitted
fix: cleanup old streams
1 parent 4f518db commit cc5bafc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iosrtcPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class iosrtcPlugin : CDVPlugin {
114114
self.emit(command.callbackId, result: result!)
115115
},
116116
eventListenerForAddStream: self.addMediaStream,
117-
eventListenerForRemoveStream: self.removeMediaStream
117+
eventListenerForRemoveStream: self.deleteMediaStream
118118
)
119119

120120
// Store the pluginRTCPeerConnection into the dictionary.

0 commit comments

Comments
 (0)