getLocalStreams method

List<WrappedMediaStream> getLocalStreams()

Implementation

List<WrappedMediaStream> getLocalStreams() {
  final feeds = <WrappedMediaStream>[];

  if (localUserMediaStream != null) {
    feeds.add(localUserMediaStream!);
  }

  if (localScreenshareStream != null) {
    feeds.add(localScreenshareStream!);
  }

  return feeds;
}