Changeset 289f23911af9ce924e74b9ccf698b4b2bf3258be

Show
Ignore:
Timestamp:
16/06/08 19:30:59 (4 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1213637459 +0300
git-parent:

[50083d4a143a10582e56343d2d78d5bda4cb013f]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1213637459 +0300
Message:

RTP: handle odd port numbers correctly

We should also open a RTCP socket, if only to not send ICMP errors back

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/rtp.c

    r60e93de r289f239  
    175175    if (dport == 0) 
    176176        dport = 5004; /* avt-profile-1 port */ 
     177    dport = (dport + 1) & ~1; /* RTP is on the "next" even port */ 
    177178 
    178179    /* Try to connect */