Even if there is a packet loss also, then the
function will return 0 length.
It does not means that the other endpoint
stopped transmissions.
Also if the other end stopped rtp transmission, it
must return 0.
Regards,
Kannaiyan
----- Original Message -----
Sent: Tuesday, October 03, 2006 4:19
PM
Subject: Re: [Linphone-users] ORTP - I
have a problem withrtp_session_recv_with_ts() fucntion
Thank you for your help.
Then you say the function never returns zero but data size once
transmission started even though transmission finished?
You said if packets are not available it will wait
until the timeout. In that case it will return 0, please let me know
how to do like this in detail.
thank you.
2006/10/3, Kannaiyan Natesan <address@hidden>:
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
_______________________________________________ Linphone-users
mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/linphone-users
|