linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] How can I use the same machine to test sending and


From: Sridhar
Subject: [Linphone-developers] How can I use the same machine to test sending and receving with different ports.
Date: Wed, 9 Feb 2011 18:23:37 +0530

Hi,

I am trying to use same pc to send and recv with different ports, but it is not working. Here is what I am doing.


        sendSession=rtp_session_new(RTP_SESSION_SENDONLY);       
        rtp_session_set_scheduling_mode(sendSession,0);
        rtp_session_set_blocking_mode(sendSession,0);            
         rtp_session_set_remote_addr(sendSession,"0.0.0.0",5001);
          rtp_session_set_payload_type(sendSession,0);

   recvSession=rtp_session_new(RTP_SESSION_RECVONLY);   
    rtp_session_set_scheduling_mode(recvSession,1);
    rtp_session_set_blocking_mode(recvSession,1);
    rtp_session_set_local_addr(recvSession,"0.0.0.0",5001);
    rtp_session_set_connected_mode(recvSession,TRUE);   
    rtp_session_set_symmetric_rtp(recvSession,TRUE);   
    //rtp_session_enable_adaptive_jitter_compensation(recvSession,adapt);   
    rtp_session_set_jitter_compensation(recvSession,0);   
    rtp_session_enable_jitter_buffer(recvSession,FALSE);

But I cant receive anything in the receiver. if I use other machine it is working. am I doing anything wrong here ?

Thanks,
Sridhar.,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]