ortp_recv: Set remote address
authorAndre <maan@p133.(none)>
Fri, 7 Jul 2006 13:27:57 +0000 (15:27 +0200)
committerAndre <maan@p133.(none)>
Fri, 7 Jul 2006 13:27:57 +0000 (15:27 +0200)
This avoids a ortp warning message

ortp_recv.c

index 1f2f78b..287d706 100644 (file)
@@ -282,6 +282,7 @@ static int ortp_recv_open(struct receiver_node *rn)
        pord->session = rtp_session_new(RTP_SESSION_RECVONLY);
        PARA_NOTICE_LOG("receiving from %s:%d\n", c->host_arg, c->port_arg);
        rtp_session_set_local_addr(pord->session, c->host_arg, c->port_arg);
+       rtp_session_set_remote_addr(pord->session, c->host_arg, c->port_arg);
        rtp_session_set_payload_type(pord->session, PAYLOAD_AUDIO_CONTINUOUS);
        if (c->jitter_compensation_arg) {
                rtp_session_enable_adaptive_jitter_compensation(pord->session, TRUE);