[domistream] WIP: rustfmt, doc link, clippy fixes (one collapsible-if left in rtsp/mod.rs), PROTOCOL.md status

Paused at Mark's request.
This commit is contained in:
2026-11-25 14:32:37 +01:00
parent 30a7b90034
commit bd91a1007e
14 changed files with 68 additions and 57 deletions
+1 -7
View File
@@ -170,13 +170,7 @@ impl RtspClient {
Ok(c)
}
fn queue(
&mut self,
method: Method,
target: &str,
mut extra: Vec<(String, String)>,
body: Vec<u8>,
) -> Result<()> {
fn queue(&mut self, method: Method, target: &str, mut extra: Vec<(String, String)>, body: Vec<u8>) -> Result<()> {
self.cseq = self.cseq.wrapping_add(1);
let mut headers = vec![("CSeq".to_owned(), self.cseq.to_string())];
headers.push(("X-GS-ClientVersion".to_owned(), CLIENT_VERSION.to_owned()));