feat:计算视频帧传来的差值

This commit is contained in:
nnbcccscdscdsc
2026-04-02 15:29:49 +08:00
parent 1e828cc036
commit 51ea86e887
6 changed files with 294 additions and 26 deletions

View File

@@ -32,6 +32,15 @@ export interface VideoStatus {
fps: number
frame_dir: string
source_detail?: string
timing?: {
available: boolean
latest_delta_ms: number | null
delta_samples_ms: number[]
sample_count: number
sample_window_size: number
timestamp_unit: string | null
timestamp_endianness: string | null
}
receiver?: {
backend_ready: boolean
mode: string
@@ -45,6 +54,15 @@ export interface VideoStatus {
relay_via?: string
peer_id?: string
buffer_bytes?: number
timing?: {
available: boolean
latest_delta_ms: number | null
delta_samples_ms: number[]
sample_count: number
sample_window_size: number
timestamp_unit: string | null
timestamp_endianness: string | null
}
}
}