Commit e4883ff0 authored by Mickaël Turnel's avatar Mickaël Turnel

Fix the use of the wrong allocator for rtcp messages

parent efd696c1
......@@ -1771,7 +1771,7 @@ int rtp_session_rtcp_recv (RtpSession * session) {
{
bool_t sock_connected=!!(session->flags & RTCP_SOCKET_CONNECTED);
mp = msgb_allocator_alloc(&session->rtp.gs.allocator, RTCP_MAX_RECV_BUFSIZE);
mp = msgb_allocator_alloc(&session->rtcp.gs.allocator, RTCP_MAX_RECV_BUFSIZE);
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