mirror of https://github.com/FFmpeg/FFmpeg.git
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: Martin Storsjö <martin@martin.st>pull/221/head
parent
9ea78fd00a
commit
bc2a32969e
2 changed files with 9 additions and 0 deletions
Loading…
Reference in new issue