getVideoView function

Widget getVideoView(
  1. int streamId,
  2. int width,
  3. int height
)

Implementation

Widget getVideoView(int streamId, int width, int height) {
  if (!videoViewCache.containsKey(streamId)) {
    videoViewCache[streamId] = videoViewNew(streamId, width, height);
  }
  return videoViewCache[streamId]!;
}