/// /** * Provides {@link MetadataSync} and {@link SimpleMetadataSync}. * * These are end-to-end helpers which combine {@link sync/RtpScriptTransform} (to * extract metadata from the video frames) with {@link sync/JitterBuffer} and * {@link sync/RequestFrame.startRvfc} to display it in a synchronized way. * * @module */ import { startRvfc } from "./RequestFrame.js" import { attachMetadataExtractor, AttachRtpScriptTransformOptions, MessageData, RtpScriptTransformServiceCallback, startMetadataExtractorService } from "./RtpScriptTransform.js" import JitterBuffer from "./JitterBuffer.js" type WrappedMeta = { ts: number, metadata: Meta } /** * Combines a metadata extractor with a jitter buffer with a metadata extractor, * and fetches appropriate metadata as frames are rendered in a `