• Martin Storsjö's avatar
    sdp: Add an option for sending RTCP packets to the source of the last packets · b56fc18b
    Martin Storsjö authored
    An SDP description normally only contains the target IP address
    and port for the packets. This means that we don't really have
    any clue where to send the RTCP RR packets - previously they're
    sent to the destination IP written in the SDP (at the same port),
    which rarely is the actual peer. And if the source for the packets
    is on a different port than the destination, it's never correct.
    
    With a new option, we can choose to send the packets to the
    address that the latest packet on each socket arrived from.
    ---
    Some may even argue that this should be the default - perhaps,
    but I'd rather keep it optional at first. Additionally, I'm not
    sure if sending RTCP RR directly back to the source is
    desireable for e.g. multicast.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    b56fc18b
rtsp.c 86.5 KB