diff --git a/crates/voelin-core/src/cache.rs b/crates/voelin-core/src/cache.rs index 6e25c31..7ec055c 100644 --- a/crates/voelin-core/src/cache.rs +++ b/crates/voelin-core/src/cache.rs @@ -4,21 +4,21 @@ //! id (the CRC32 of the image, as TeamSpeak assigns them), so a lookup is a //! map access, and the same image seen on several servers or under //! several clients is one file. Pictures from the web (banners, -//! [`crate::web`]) are named by the MD5 hash of their address. Keys are +//! `web`) are named by the MD5 hash of their address. Keys are //! relative paths (`avatars/`, `icons/`, `pictures/`). //! //! The cache is bounded by `cache.max_mb` (read on every insert; 0: no //! limit): the least recently used files go first. Use times survive //! restarts as the files' modification times. //! -//! Downloads are deduplicated: [`Cache::fetch`] tells the first asker to +//! Downloads are deduplicated: `Cache::fetch` tells the first asker to //! download (into a temporary path), later askers wait for the same -//! download ([`Cache::finish`] answers them all). +//! download (`Cache::finish` answers them all). //! //! A picture from the web keeps its host's validators (`ETag`, //! `Last-Modified`) next to it, in `validators/pictures/`: asked for -//! again, it is downloaded only if it changed ([`Cache::validators`], -//! [`Arrived::Unchanged`]). +//! again, it is downloaded only if it changed (`Cache::validators`, +//! `Arrived::Unchanged`). use std::collections::{BTreeMap, HashMap}; use std::fmt; diff --git a/crates/voelin-core/src/lib.rs b/crates/voelin-core/src/lib.rs index d46455f..496e5a5 100644 --- a/crates/voelin-core/src/lib.rs +++ b/crates/voelin-core/src/lib.rs @@ -19,9 +19,9 @@ //! [`Engine::subscribe_frames`] for the frames of watched streams. The audio //! of watched streams plays through the session's speakers by itself //! ([`Command::SetStreamVolume`]); capture, encoding and decoding of video -//! are in [`media`] (feature `media`), and the Stream Studio (scenes of +//! are in `media` (feature `media`), and the Stream Studio (scenes of //! sources composited into one stream, recording, a replay buffer, WHIP) in -//! [`studio`]. +//! `studio`. //! //! Settings are a [`settings::Settings`] service: typed keys, runtime //! values stored in the client database ahead of command line, config file @@ -269,7 +269,7 @@ pub enum Command { }, /// The video of a watched stream arrives, but none of it decodes: watch /// it in another codec the streamer offered, if there is one (a new - /// connection without this one). [`media::Viewer`] sends it. + /// connection without this one). `media::Viewer` sends it. StreamUndecodable { session: SessionId, stream_id: String, diff --git a/crates/voelin-core/src/media.rs b/crates/voelin-core/src/media.rs index b6c3655..6d77331 100644 --- a/crates/voelin-core/src/media.rs +++ b/crates/voelin-core/src/media.rs @@ -2680,7 +2680,7 @@ pub struct DecodeStats { pub bytes: u64, /// Pictures decoded per second and video received in bit/s, over the /// time since the previous [`VideoPipeline::stats`] (at least - /// [`RATE_WINDOW`]; the watch screen asks once a second). + /// `RATE_WINDOW`; the watch screen asks once a second). pub fps: u32, pub bitrate: u64, }