Commit 1080fa9
Fix RTP header extension length calculation (RFC 3550 compliance) (#1556)
* Fix RTP header extension length calculation (RFC 3550 compliance)
- The extension length field specifies the number of 32-bit words, not bytes
- Multiply the length field by 4 to convert from 32-bit words to bytes
* Review suggestion: fix for misleading variable name
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 415e3f3 commit 1080fa9
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
| 49 | + | |
53 | 50 | | |
| 51 | + | |
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
| |||
0 commit comments