refactoring, increased bitrate, reduced buffers

This commit is contained in:
Maxim Devaev
2025-01-18 17:16:55 +02:00
parent 10595a13e9
commit a94ff667b0
4 changed files with 28 additions and 20 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, US_RTP_VIDEO_PAYLOAD, true);
us_rtp_assign(rtpv->rtp, US_RTP_H264_PAYLOAD, true);
rtpv->callback = callback;
return rtpv;
}