• Rémi Denis-Courmont's avatar
    Use plain sockets rather than the UDP access output for RTSP. · a4208fa8
    Rémi Denis-Courmont authored
    This saves:
     - one malloc() per packet per client } due to
     - one memcpy() per packet per client } block_Duplicate()
     - one mwait() per packet per client, and
     - one thread per client per track
    
    So it should really help scale RTSP broadcast up.
    However, in its current state, it removes the pts synchronization,
    which might not be such a great idea. I will re-add it later.
    a4208fa8
rtp.c 67.7 KB