linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Video Delay 7 seconds


From: Kannaiyan
Subject: [Linphone-users] Video Delay 7 seconds
Date: Thu, 22 Feb 2007 15:30:48 +0800

Hi Simon,

I use the following code,

recvvideo = rtp_session_new (RTP_SESSION_RECVONLY);
         rtp_session_set_scheduling_mode (recvvideo, 1);
         rtp_session_set_blocking_mode (recvvideo, 1);

         err= rtp_session_set_local_addr (recvvideo, "0.0.0.0", 7080);

         rtp_session_enable_adaptive_jitter_compensation (recvvideo, TRUE);
//        rtp_session_set_jitter_compensation (recvvideo, 40); // parameter
is in milliseconds
         rtp_session_set_payload_type (recvvideo,97);
         rtp_session_set_remote_addr (recvvideo,ip,port);
         IMLog (INFO, "RTP Receiving on port 7080 with Payload 97");
         IMLog (INFO, "RTP Receiving Session Started");


when i read with,

mp = rtp_session_recvm_with_ts(recvvideo,rts);

and write to the hardware, the video is perfectly fine. But I get a delay of
7 seconds.

Can you please advise where I'm going wrong?

Regards,
Kannaiyan






reply via email to

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