linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] ORTP - I have a problem withrtp_session_recv_with_t


From: Kannaiyan Natesan
Subject: Re: [Linphone-users] ORTP - I have a problem withrtp_session_recv_with_ts() fucntion
Date: Tue, 3 Oct 2006 15:38:43 +0800

It actually returns the length of the data received. It is a UDP socket, so you cannot  confirm whether the sender finished or not.
 
If packets are not available it will wait until the timeout. In that case it will return 0.
 
Regards,
Kannaiyan
----- Original Message -----
From: 류호은
Sent: Tuesday, October 03, 2006 3:08 PM
Subject: [Linphone-users] ORTP - I have a problem withrtp_session_recv_with_ts() fucntion

I use oRtp library in my program that have a sender and a receiver.

I have a problem that rtp_session_recv_with_ts() function doesn't return zero even though the sender program is finished.

ortp document says if no packets are available, then the function returns zero.

but in my program, the function doesn't work like that and returns garbage value.

I want to make my receiver stop when the function returns zero but I can't.


help me please, thank you





_______________________________________________
Linphone-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/linphone-users

reply via email to

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