janus: using ring buffers for rtp pipelines

This commit is contained in:
Maxim Devaev
2024-02-29 06:57:16 +02:00
parent 28cd5e5b87
commit 12937b93d5
6 changed files with 64 additions and 65 deletions

View File

@@ -32,7 +32,8 @@
us_rtpa_s *us_rtpa_init(us_rtp_callback_f callback) {
us_rtpa_s *rtpa;
US_CALLOC(rtpa, 1);
rtpa->rtp = us_rtp_init(111, false);
rtpa->rtp = us_rtp_init();
us_rtp_assign(rtpa->rtp, 111, false);
rtpa->callback = callback;
return rtpa;
}