You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The header extension contains a 16-bit length field that
counts the number of 32-bit words in the extension, excluding the
four-octet extension header (therefore zero is a valid length).
should be
offset += htons (extlen)*4; // skips RTP extension header
The text was updated successfully, but these errors were encountered:
-d wont help. -d is used to find the rtp offset from the frame start. He is trying to say according to that Rfc the payload starts later than what is calculated by the current implementation.
ac50693 didn't fix this properly. The extension length is now calculated correctly, but offset never gets skipped past the length bytes which means the decryption starts two bytes two early. An offset += 2; after reading the extension length fixes it.
from rfc3550:
The header extension contains a 16-bit length field that
counts the number of 32-bit words in the extension, excluding the
four-octet extension header (therefore zero is a valid length).
should be
offset += htons (extlen)*4; // skips RTP extension header
The text was updated successfully, but these errors were encountered: