Use new rtpp_timed API to delay closure of the socket by 1 second after the last use. This ensures that all pending retransmits would be complete. This is somewhat hackish solution, the proper one would probably be to add some kind of refcounting to the file descriptor and let that track specific time when the socket can be released safely. However, this is probably going work fine for the time being.
Use new rtpp_timed API to delay closure of the socket by 1 second
after the last use. This ensures that all pending retransmits would
be complete. This is somewhat hackish solution, the proper one would
probably be to add some kind of refcounting to the file descriptor
and let that track specific time when the socket can be released
safely. However, this is probably going work fine for the time being.

jevonearth/rtpproxy,dsanders11/rtpproxy,synety-jdebp/rtpproxy,Vocalocity/rtpproxy-pre,jevonearth/rtpproxy,dsanders11/rtpproxy,hongbinz/rtpproxy,hongbinz/rtpproxy,synety-jdebp/rtpproxy,Vocalocity/rtpproxy-pre,synety-jdebp/rtpproxy,sippy/rtpproxy,jevonearth/rtpproxy,dsanders11/rtpproxy,sippy/rtpproxy,Vocalocity/rtpproxy-pre,hongbinz/rtpproxy,hongbinz/rtpproxy,synety-jdebp/rtpproxy,sippy/rtpproxy,Vocalocity/rtpproxy-pre,jevonearth/rtpproxy