MenuMenu

RTCMultiConnection.beforeRemovingStream

Check if RTCMultiConnection is removing a stream during peer connection

Usage

connection.beforeRemovingStream = function(stream) {
  // stream.id, stream.getTracks()
  return stream;
};