Joe-Palmer / rtmplite

Automatically exported from code.google.com/p/rtmplite
0 stars 0 forks source link

incoming call and sock.fileno() #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes I noticed that

siprtmp complaints of bad file descriptor when the callee accept the call. so 
sometimes the incoming audio data is not heard.
here the error :

receive RTP exception (<class 'socket.error'>, error(9, 'Bad file descriptor'), 
<traceback object at 0xf89998>)
Traceback (most recent call last):
  File "/home/adobe/rtmplite/siprtmp.py", line 641, in receiveRTP
    fd = sock.fileno()
  File "<string>", line 1, in fileno
  File "/usr/lib64/python2.5/site-packages/gevent-0.14.0dev-py2.5-linux-x86_64.egg/gevent/socket.py", line 266, in _dummy
    raise error(EBADF, 'Bad file descriptor')
error: (9, 'Bad file descriptor')
receive RTCP exception (<class 'socket.error'>, error(9, 'Bad file 
descriptor'), <traceback object at 0xf89908>)
cleaning up sockets None None
Exception greenlet.GreenletExit: GreenletExit() in <bound method 
Network.__del__ of <__main__.Network object at 0xf8a550>> ignored

I guess that the function receiveRTP is called before the sock is created or 
something like this ?

Thanks

Original issue reported on code.google.com by pratn...@gmail.com on 6 Oct 2011 at 3:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Closing as requested by the submitter as it comes due to changes made outside 
the project.

Original comment by kundan10 on 9 Oct 2011 at 7:14