Thanks Simon.
That really worked. I'm incrementing it by 900. Worked great.

Regards,
Kannaiyan

----- Original Message -----
From: "Simon Morlat" <[EMAIL PROTECTED]>
To: <[email protected]>; "Kannaiyan" <[EMAIL PROTECTED]>
Sent: Friday, February 23, 2007 1:53 AM
Subject: Re: [Linphone-users] Video Delay 7 seconds


It's surely the timestamp you are asking that is incrementing to  slowly.
For video payloads the clock rate is usually 90000.



Le jeudi 22 février 2007 08:30, Kannaiyan a écrit :
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




_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users




_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to