Demo media_receiver: payload size is not matched to rtp header

Hi,

I found the result of rmx_input_get_packet_size(packet_info, m_payload_mem_block_id), is not equal to payload_size I set, the payload_size I set is YUV_DEFAULT_PAYLOAD_SIZE(1200). The result of rmx_input_get_packet_size(packet_info, m_payload_mem_block_id) is 1340 or 1346.

Another question: when I use -r 26(means header/payload split),the result of rmx_input_get_packet_size(packet_info, m_header_mem_block_id) was not always 26, sometimes it was 20. If the result was 20, the last 6 bytes in header must be regard as part of the payload data.

rivermax version: 1.60.6
system version ubuntu 22.04
cpu: AMD EPYC 7542 32-Core Processor

Thanks!

Hi weiyabobeijing1,

Thank you for posting your query on NVIDIA Community.

I would like to share the following knowledge base article regarding stream bit rate calculation → https://enterprise-support.nvidia.com/s/article/Uncompressed-Video-Stream-Bit-Rate-Calculation

If additional information or triage is needed, a valid support Entitlement will be required.

If there an active entitlement/support contract in place, please do not hesitate to open a support ticket by emailing enterprisesupport@nvidia.com

For contracts, please reach out to Networking-Contracts@nvidia.com

Thanks,
Namrata.