refactoring

This commit is contained in:
Maxim Devaev
2025-01-18 05:09:32 +02:00
parent 80ffc8b2bd
commit 10595a13e9
3 changed files with 5 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ us_rtpv_s *us_rtpv_init(us_rtp_callback_f callback) {
us_rtpv_s *rtpv;
US_CALLOC(rtpv, 1);
rtpv->rtp = us_rtp_init();
us_rtp_assign(rtpv->rtp, 96, true);
us_rtp_assign(rtpv->rtp, US_RTP_VIDEO_PAYLOAD, true);
rtpv->callback = callback;
return rtpv;
}