getStream method

MediaStream? getStream({
  1. required String label,
})

getStream returns the stream with the given label

Implementation

MediaStream? getStream({required String label}) {
  MediaStream? stream = _activeStreams[label];
  if (stream == null) {
    return null;
  }
  return stream;
}