- 25 Oct, 2013 1 commit
-
-
lemonlinger@gmail.com authored
avformat/rtpproto: when local rtp port and local rtcp port are not specified, try to make two successive ports and retry 3 times when failed some video players on Android will not send udp hole punching messages if the rtcp port and rtp port are not two successive integers. So, if the video player is behind NAT, it could not receive and rtp messages via udp Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 15 Aug, 2013 2 commits
-
-
Martin Storsjö authored
IPPROTO_IPV6 is unrelated here (it's only used in udp.c for multicast sockopts), check for support for the sockaddr_in6 struct itself. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Dave Yeo authored
Some systems, such as OS/2, define AF_INET6 without a full implementation. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 14 Aug, 2013 1 commit
-
-
Martin Storsjö authored
If we've received packets on the same socket before, the return packets are sent to that address. If we've only received packets on the other socket, try to guess the source port for the other one assuming the basic +1/-1 logic. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 13 Aug, 2013 1 commit
-
-
Martin Storsjö authored
Move the sources documentation up below the marker for deprecated otpions. Also mention the new block parameter, that was added in 74972220. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 01 Aug, 2013 2 commits
-
-
Martin Storsjö authored
A separate rtcp port can already be set when opening the rtp protocol normally, but when doing port setup as in RTSP (where we first need to open the local ports and pass them to the peer, and only then receive the remote peer port numbers), we didn't check the same url parameter as in the normal open routine. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
I doubt that anyone ever would try to send a 1 byte packet via the RTP protocol, but check just in case - it shouldn't crash at least. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 31 Jul, 2013 4 commits
-
-
Martin Storsjö authored
Mixing these with the rtp depacketizer functions in rtpdec.h is no good. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This avoids having duplicate code where only the fd parameter differs. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The fdset is a pollfd array nowadays, and it is already populated at this point. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 29 Jul, 2013 1 commit
-
-
Ed Torbett authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Jul, 2013 2 commits
-
-
Martin Storsjö authored
If another peer is sending unicast packets to the same port that we are listening on, those packets can end up being received despite using source specific multicast. For those cases, manually check the source address of received packets against the intended source address. This only handles the case when the source list is one single IP address for now, which probably is the most common case. Based on a patch by Ed Torbett. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Ed Torbett authored
Blocking/exclusion is not supported yet. The rtp protocol parameter takes the same form as the existing sources parameter for the udp protocol. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 18 Jul, 2013 1 commit
-
-
Ed Torbett authored
Passes Source-Specific Multicast parameters read from an sdp file through to the UDP socket code, allowing source-specific multicast streams to be correctly received. As an integral part of this change, additional checking (currently only enabled in the case of SSM streams, but probably useful in similar scenarios) has been added to the RTP protocol handler to distinguish UDP packets arriving from multiple sources to the same port and process only the expected packets (those transmitted from the expected UDP source address). This resolves an issue identified when multiple instances of FFmpeg subscribe to different Source-Specific Multicast streams but with each sharing the same destination port. Signed-off-by:
Edward Torbett <ed.torbett@simulation-systems.co.uk> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Dec, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 17 Aug, 2012 2 commits
-
-
Jordi Ortiz authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Jordi Ortiz authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Jun, 2012 2 commits
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
These files do not use anything provided by unistd.h. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 16 Feb, 2012 1 commit
-
-
Martin Storsjö authored
The binary doesn't change after this patch. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 05 Jan, 2012 1 commit
-
-
Martin Storsjö authored
This definition is in two files, since the definitions will move to the private header at the next bump. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 01 Dec, 2011 1 commit
-
-
Martin Storsjö authored
This simplifies the open functions by avoiding one function call that needs error checking, reducing the amount of extra bulk code. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 13 Nov, 2011 3 commits
-
-
Anton Khirnov authored
Not used anywhere yet, support for passing options from avio_open() will follow.
-
Martin Storsjö authored
Change all uses of these function to pass the relevant callback on.
-
Martin Storsjö authored
-
- 12 Oct, 2011 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 25 Jul, 2011 1 commit
-
-
Michael Niedermayer authored
rtp: disable udp fifos, the rtp code cannot work with the fifos in its current form as rtp bypasses the public API. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 21 Jul, 2011 1 commit
-
-
Diego Biurrun authored
-
- 23 Jun, 2011 1 commit
-
-
Martin Storsjö authored
This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 09 May, 2011 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Apr, 2011 1 commit
-
-
Stefano Sabatini authored
Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API.
-
- 08 Apr, 2011 1 commit
-
-
Anton Khirnov authored
This is more readable and makes it easier to reorder URLProtocol members.
-
- 07 Apr, 2011 1 commit
-
-
Anton Khirnov authored
-
- 04 Apr, 2011 5 commits
-
-
Anton Khirnov authored
URLContext.max_packet_size should be used directly.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 23 Mar, 2011 1 commit
-
-
Anton Khirnov authored
-