Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTP header length inconsistent with RFC 3550 #193

Open
chumvan opened this issue Jun 29, 2022 · 0 comments
Open

RTP header length inconsistent with RFC 3550 #193

chumvan opened this issue Jun 29, 2022 · 0 comments

Comments

@chumvan
Copy link

chumvan commented Jun 29, 2022

As specified in RFC3550 - section 5.1 RTP Fixed Header Field:

The first twelve octets are present in every RTP packet, while the
list of CSRC identifiers is present only when inserted by a mixer.

the header length of an RTP packet should be at least 12 octets hence should include the first 3 rows as can be seen from the figure below (from V to the SSRC):
image

Currently in pion/rtp/packet.go, we have headerLength = 4
image

Is there any specific reason for this value ? Otherwise, it should be adjusted to maintain the coherence with the standardization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant