fn choose_primary_worker( delays_ms: &[Option<u64>], threshold_ms: u64, start_worker: usize, ) -> MediaWorkerId