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 -----
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
|