updateFrame method

void updateFrame()

Updates the frameNotifier to the previously received video frame from the network

Implementation

void updateFrame() {
  frameNotifier.value = frameCache;
  hasFrameStatus.value = frameNotifier.value != null && frameNotifier.value!.isNotEmpty;
}