Error receiving RTP packet: Bad file descriptor, err num [9], error [-1]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error receiving RTP packet: Bad file descriptor, err num [9], error [-1]

Roeland Jansen

all,

for some reasons I get the following warning -- obviously making a transfer 
not workable at all.

ortp-warning-Error receiving RTP packet: Bad file descriptor, err num [9],error [-1]

which leads back to 

ortp/src/rtpsession_Inet.c line 1727:

                                       if (session->on_network_error.count>0){
                                                rtp_signal_table_emit3(&session->on_network_error,"Error receiving RTP packet",ORTP_INT_TO_POINTER(getSocketErrorCode()));
                                        }else ortp_warning("Error receiving RTP packet: %s, err num  [%i],error [%i]",getSocketError(),errnum,error);


and getSocketError is defined in ortp/include/ortp/port.h.


I am at this point unable to find the error -9, the bad file descriptor.

---
If the packets are not flowing over the network, all goes fine  (e.g. when using localhost).


I also used socat to tx and rx the pakets over the network with the same results.

Anyone who has a clue what/where I can further trouble shoot the bad file descriptor errnum and errno?


R


_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers