VideoFrameCallback type

Video frame call back function definition

type VideoFrameCallback = (
  frame: VideoFrame,
  notifyVideoFrameProcessed: () => void,
  notifyError: (errorMessage: string) => void
) => void