• Mark Harris's avatar
    opusrtp: Fix transmit timing · 69533e50
    Mark Harris authored
    Because it would sleep for the entire packet duration after sending
    each packet, the packets would end up too far apart and cause underruns.
    
    Do not depend on usleep() if its POSIX replacements are available.
    usleep() was obsoleted in POSIX.1-2001 and removed in POSIX.1-2008.
    69533e50
opusrtp.c 29.8 KB