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 18:03:22 +0800

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 -----
From: 류호은
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 -----
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


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