addStream method

void addStream(
  1. MediaStream remoteStream
)

Implementation

void addStream(MediaStream remoteStream) {
  logger.log('Receiving stream $remoteStream');

  _remoteStream = remoteStream;
  // provider?.emit('stream', null, remoteStream); // Should we call this `open`?
  // emit('stream', null, remoteStream); // Should we call this `open`?
  super.emit<MediaStream>(
      'stream', remoteStream); // Should we call this `open`?
}