Commit a1eac648 authored by Simon Morlat's avatar Simon Morlat

Use recv_buf_size for RTCP as well. No good reason to do differently.

parent 206c1bab
......@@ -1800,7 +1800,7 @@ int rtp_session_rtcp_recv (RtpSession * session) {
{
bool_t sock_connected=!!(session->flags & RTCP_SOCKET_CONNECTED);
mp = msgb_allocator_alloc(&session->rtcp.gs.allocator, RTCP_MAX_RECV_BUFSIZE);
mp = msgb_allocator_alloc(&session->rtcp.gs.allocator, session->recv_buf_size);
mp->reserved1 = session->rtp.rcv_last_app_ts;
if (sock_connected){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment