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

correct the use of header in sample tx rtp app #996

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

weic6
Copy link
Contributor

@weic6 weic6 commented Oct 9, 2024

struct st20_rfc4175_rtp_hdr is the correct one to use because:
In function app_tx_build_rtp_packet, payload is filled using memset(payload, 0, s->packet_size - sizeof(*rtp)), where rtp is of type struct st20_rfc4175_rtp_hdr*, so in main, the packet size ops_tx.rtp_pkt_size should be 1200 + sizeof(struct st20_rfc4175_rtp_hdr)

update st20 rtp header to rfc4175 in sample rtp app
Copy link
Collaborator

@PanKaker PanKaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for noticing that and your contribution to fix it!

@PanKaker PanKaker merged commit ba8a8f7 into OpenVisualCloud:main Oct 22, 2024
28 checks passed
@weic6 weic6 deleted the update-patch branch October 22, 2024 15:06
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

Successfully merging this pull request may close these issues.

2 participants