• Martin Storsjö's avatar
    rtsp: Parse SSRC attributes in the SDP · bc2a3296
    Martin Storsjö authored
    When feeding input RTP packets to the depacketizer via custom IO,
    it needs to pick the right stream using the payload type for
    RTP packets, and using the SSRC for RTCP packets. If the first
    packet is an RTCP packet, we don't (currently) know the SSRC
    yet and thus can't pick the right RTP depacketizer to handle it.
    
    By parsing the SSRC attribute in the SDP, we can map initial
    RTCP packets to the right stream.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    bc2a3296
rtsp.c 91.4 KB