ultravideo / uvgRTP

An open-source library for RTP/SRTP media delivery
BSD 2-Clause "Simplified" License
325 stars 92 forks source link

RTCP interval issues #195

Closed wowaser closed 1 year ago

wowaser commented 1 year ago

Two problems:

  1. set_rtcp_interval_ms function does nothing because after setting it the stored value is never read
  2. Stream with one participant (my case) creates rtcp interval that is ridiculously small. Because of that, APP packets are not sent and just accumulate.
tampsa commented 1 year ago

Hey,

  1. This is an internal function that is not supposed to be used. It probably will be removed. Please refer to the public API: https://ultravideo.github.io/uvgRTP/html/classuvgrtp_1_1rtcp.html. You can use the RCC_SESSION_BANDWIDTH flag to set the session bandwidth which in turn modifies the RTCP interval.

  2. How small is ridiculously small? Which method are you using to send APP packets, hooking or send_app_packet()? It is supposed to work so that every time an RTCP compound packet is sent, also a single APP packet is also sent.

-Heikki

jrsnen commented 1 year ago

I'm assuming this was the same issue as #197. Feel free to reopen if this is not. Closing.