janus: renamed US_RTP_DATAGRAM_SIZE -> US_RTP_TOTAL_SIZE

This commit is contained in:
Maxim Devaev
2026-02-12 19:27:00 +02:00
parent c730981827
commit e013356cf0
4 changed files with 7 additions and 7 deletions

View File

@@ -279,7 +279,7 @@ static void *_acap_thread(void *arg) {
if (_get_acap_hz(&hz) < 0 || acap->pcm_hz != hz) {
goto close_acap;
}
uz size = US_RTP_DATAGRAM_SIZE - US_RTP_HEADER_SIZE;
uz size = US_RTP_TOTAL_SIZE - US_RTP_HEADER_SIZE;
u8 data[size];
u64 pts;
const int result = us_acap_get_encoded(acap, data, &size, &pts);