Update api spec (#411)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d32c643b1e
commit
a7f6433735
@ -1,23 +1,39 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
|
||||
|
||||
class ClientMetrics(BaseModel):
|
||||
"""ClientMetrics contains information regarding the state of the peer."""
|
||||
|
||||
rtc_frames_decoded: int
|
||||
rtc_frame_height: Optional[int] = None
|
||||
|
||||
rtc_frames_dropped: int
|
||||
rtc_frame_width: Optional[int] = None
|
||||
|
||||
rtc_frames_per_second: int
|
||||
rtc_frames_decoded: Optional[int] = None
|
||||
|
||||
rtc_frames_received: int
|
||||
rtc_frames_dropped: Optional[int] = None
|
||||
|
||||
rtc_freeze_count: int
|
||||
rtc_frames_per_second: Optional[int] = None
|
||||
|
||||
rtc_jitter_sec: float
|
||||
rtc_frames_received: Optional[int] = None
|
||||
|
||||
rtc_keyframes_decoded: int
|
||||
rtc_freeze_count: Optional[int] = None
|
||||
|
||||
rtc_total_freezes_duration_sec: float
|
||||
rtc_jitter_sec: Optional[float] = None
|
||||
|
||||
rtc_keyframes_decoded: Optional[int] = None
|
||||
|
||||
rtc_packets_lost: Optional[int] = None
|
||||
|
||||
rtc_pause_count: Optional[int] = None
|
||||
|
||||
rtc_pli_count: Optional[int] = None
|
||||
|
||||
rtc_stun_rtt_sec: Optional[float] = None
|
||||
|
||||
rtc_total_freezes_duration_sec: Optional[float] = None
|
||||
|
||||
rtc_total_pauses_duration_sec: Optional[float] = None
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
Reference in New Issue
Block a user