Martin Storsjö
0e64218889
Remove a redundant assignment, found by clang
...
Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sam Gerstein
f3c68c5b45
ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.
...
Originally committed as revision 22785 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Josh Allmann
339f5f3957
Merge Vorbis / Theora depayloaders.
...
Patch by Josh Allmann <joshua DOT allmann AT gmail DOT com>.
Originally committed as revision 22768 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c2bfd81605
Some spelling fixes.
...
Originally committed as revision 22720 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sam Gerstein
9cba6f5f40
Add a timeout to the select() call. Patch by Sam Gerstein <sgerstein bluefinlab
...
com>.
Originally committed as revision 22718 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
4bc5cc2313
Reassemble the RTSP URL before replacing hostname with the numerical IP
...
Originally committed as revision 22681 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
7b4a36450b
Simplify ff_rtsp_send_cmd_with_content_async, remove an unnecessary buffer
...
Originally committed as revision 22680 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
30af077942
Don't force basic auth in RTSP, but retry with the server-specified method on failure
...
Originally committed as revision 22678 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
2626308abb
Actually parse the auth headers in RTSP
...
Originally committed as revision 22677 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
aa8bf2fb80
Make RTSP use the generic http authentication code
...
Still hardcoded to use Basic auth, without parsing the reply headers
Originally committed as revision 22676 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b17d11c632
Add separate method/url parameters to the rtsp_send_cmd functions
...
Originally committed as revision 22675 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
e9fea405a7
Reindent
...
Originally committed as revision 22672 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b1cc5540e7
Make ff_rtsp_send_cmd simply call ff_rtsp_send_cmd_with_content
...
Originally committed as revision 22663 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Luca Barbato
7ed8211b3e
Issue a warning if the received CSeq isn't the expected one
...
Originally committed as revision 22661 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
3032276b18
Handle errors returned from ff_rtsp_read_reply in udp_read_packet properly
...
Originally committed as revision 22657 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
7a033e08ea
Handle multiple RTSP transport options properly by adding all of them into the mask
...
Originally committed as revision 22644 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
602eb77975
Parse options in the RTSP URL only from the last question mark onwards
...
This helps if the URL (erroneously?) contains question marks within the path.
Originally committed as revision 22643 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
2a21adf924
Reconstruct the RTSP URL, in order to remove the auth part from the URL sent to the server
...
Don't modify the user-specified s->filename at all, keep all modifications
locally and in rt->control_uri.
Originally committed as revision 22642 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
685e76b554
Reindent
...
Originally committed as revision 22635 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b7dc88fc68
Add support for TCP as lower transport in the RTSP muxer
...
Originally committed as revision 22634 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
6e69f6c47f
Use the caller's RTSPMessageHeader in rtsp_setup_input_streams
...
Currently, the caller doesn't get the status_code and location for rediects,
since rtsp_setup_input_streams uses a copy of RTSPMessageHeader of its own.
Originally committed as revision 22630 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
ec55edba31
Make rtsp_skip_packet non-static, add ff prefix
...
Originally committed as revision 22547 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
c040badb70
Reindent
...
Originally committed as revision 22546 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
c07c6f8183
RTSP: Synchronize the start time of the chained RTP muxers
...
This makes sure that the streams get correctly synchronized when viewed,
previously the streams were out of sync by as much time as it took
between the initialization of the individual muxers.
Originally committed as revision 22545 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
e4a9e3cc7c
move ff_url_split() and ff_url_join() declarations to internal.h
...
those functions are not part of the public API
Originally committed as revision 22534 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
5c7fd91010
Cosmetics, break a long line, fix brace placement
...
Originally committed as revision 22465 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
26cb700c82
RTSP muxer: Create the SDP with the numerical IP of the peer
...
instead of using the original host name
Originally committed as revision 22464 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Dave Yeo
cbfa66d0cf
Include os_support.h which has a fallback declaration of socklen_t
...
This fixes compilation on some OSes
Patch by Dave Yeo, daveryeo at telus dot net
Originally committed as revision 22426 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
db76ca7f35
Use rt->control_uri consequently instead of s->filename in all RTSP commands
...
Originally committed as revision 22403 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
03f8fc0897
RTSP: Resolve and use the actual IP address of the peer we're connected to,
...
instead of using the original host name, since the RTP (and UDP) protocols
may choose another IP address if the host name resolves into several different
addresses.
Originally committed as revision 22398 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
f984dcf6dd
Reindent
...
Originally committed as revision 22322 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
c5c6e67c28
Rename url_split to ff_url_split
...
Since this function isn't in the public API, it should have an ff_ prefix.
Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ac11d562e5
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
...
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
57b5555c91
Use ff_url_join for assembling URLs, instead of snprintf
...
This ensures proper escaping of numerical IPv6 addresses.
The RTSP (de)muxer needs its own network initialization, since it isn't
a protocol and url_open hasn't been called yet.
Originally committed as revision 22226 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
f65919af7e
Rename RTP depacketizer files from rtp_* to rtpdec_*
...
Originally committed as revision 22109 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
9399393333
Cosmetics: reindent
...
Originally committed as revision 21995 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
3307e6ea86
Prefix non-static RTSP functions with ff_.
...
Originally committed as revision 21974 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
6f5a3d0a7b
Add an RTSP muxer
...
Originally committed as revision 21971 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
f86f665623
Free metadata in chained RTP muxers in the RTSP muxer
...
This fixes a minor memory leak
Originally committed as revision 21970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
af037f8098
Cosmetics: reindent
...
Originally committed as revision 21969 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
15ba23150e
Add declarations and doxygen documentation of generic rtsp support functions
...
to rtsp.h, and make the functions non-static
Originally committed as revision 21968 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
2efc97c2fe
Cosmetics: reindent after applying patches
...
Originally committed as revision 21967 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
35cfd6464e
Don't follow RTSP redirects when used as a muxer
...
Originally committed as revision 21966 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
3e24c7701c
Add a function rtsp_setup_output_streams for announcing the SDP
...
and setting up the internal RTSPStream data structures when using
the RTSP code in muxer mode.
Originally committed as revision 21965 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
fd450a5177
Create AVFormatContext objects as private transport for output RTSP sessions
...
Originally committed as revision 21964 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
4280f9bbcd
Split rtsp_read_header() into two functions, so that the main part (now also
...
known as rtsp_connect()) can be used in the RTSP muxer.
Patch by Martin Storsjö <$firstname $firstname st>.
Originally committed as revision 21915 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
e23d195deb
Split out input-specific parts of rtsp_read_header() into its own, new,
...
function (rtsp_setup_input_streams()), as preparation for the upcoming
RTSP muxer.
Patch by Martin Storsjö <$firstname $firstname st>.
Originally committed as revision 21914 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
30ff7c5cbc
Only send out NAT-punching RTP/RTCP packets when we're in demuxer mode, i.e.
...
don't send them when acting as a RTSP muxer.
Patch by Martin Storsjö <$firstname $firstname st>.
Originally committed as revision 21913 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago