use tokio::time::Instant;

#[derive(Debug, Default)]
pub(super) struct UpstreamClockState {
    pub session_id: u64,
    pub active_camera_generation: Option<u64>,
    pub active_microphone_generation: Option<u64>,
    pub first_camera_remote_pts_us: Option<u64>,
    pub first_microphone_remote_pts_us: Option<u64>,
    pub camera_startup_ready: bool,
    pub session_base_remote_pts_us: Option<u64>,
    pub last_video_local_pts_us: Option<u64>,
    pub last_audio_local_pts_us: Option<u64>,
    pub camera_packet_count: u64,
    pub microphone_packet_count: u64,
    pub startup_anchor_logged: bool,
    pub playout_epoch: Option<Instant>,
    pub pairing_anchor_deadline: Option<Instant>,
    pub catastrophic_reanchor_done: bool,
}
