xmpp-parsers: Fix the type of jingle_rtp/ssrc to u32

XEP-0167 has been updated to version 1.2.3, to change the type of the
'ssrc' attribute to u32 (from String).  This is in accordance with
RFC 3550 (RTP), which defines it as a randomly-chosen 32-bit unsigned
integer.

Additionally, the docstring was completely wrong.
This commit is contained in:
Link Mauve 2025-09-08 10:50:40 +02:00
commit 8c2b1df7f7
5 changed files with 17 additions and 11 deletions

View file

@ -24,7 +24,7 @@ mod tests {
#[cfg(target_pointer_width = "32")]
#[test]
fn test_size() {
assert_size!(JsonContainer, 16);
assert_size!(JsonContainer, 24);
}
#[cfg(target_pointer_width = "64")]