Mans Rullgard
ee8aecd23a
Do not include intfloat_readwrite.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
add41decd9
Remove return statements following infinite loops without break
...
These statements cannot be reached and are thus not needed.
This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
271c869cc3
rtmp: Don't try to do av_malloc(0)
...
Some received packets can have size 0. The return value from
av_malloc(0) may be NULL, which is ok if the size was 0. On
OS X, however, the returned pointer is non-null but leads to
crashes when trying to free it.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
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.
14 years ago
Anton Khirnov
7f804085f1
lavf: remove FF_API_URL_CLASS cruft.
14 years ago
Anton Khirnov
f35ff97f2e
lavf: use designated initializers for all protocols
...
This is more readable and makes it easier to reorder URLProtocol
members.
14 years ago
Anton Khirnov
f87b1b373a
avio: AVIO_ prefixes for URL_ open flags.
14 years ago
Anton Khirnov
5958df341d
avio: deprecate url_max_packet_size().
...
URLContext.max_packet_size should be used directly.
14 years ago
Anton Khirnov
e52a9145c8
avio: make url_close() internal.
14 years ago
Anton Khirnov
925e908bc7
avio: make url_write() internal.
14 years ago
Anton Khirnov
dce3756459
avio: make url_read_complete() internal.
14 years ago
Anton Khirnov
0589da0aa5
avio: make url_open() internal.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
9ad4c65f6f
rtmpproto: rename URLContext* argument in rtmp_write()
...
Now the first argument is URLContext *h. However, the function logs to
LOG_CONTEXT, which is #defined as 's' for new lavf major versions.
Therefore, rename h -> s.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
Aurelien Jacobs
ade800c5b7
properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR
...
Originally committed as revision 25484 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
f3bfe388b5
Make ff_url_split() public
...
ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.
Originally committed as revision 23822 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
e8ccf24527
RTMP: Return from rtmp_read as soon as some data is available
...
Earlier, the function only returned when the enough data to fill the
requested buffer was available. This lead to high latency when receiving
low-bandwidth streams.
Originally committed as revision 23642 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
27241cbffe
Declare the url_write buffer parameter as const
...
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
trueice@gmail.com
aae9a0931c
24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
...
proper position
Patch by trueice (his gmail account is obvious)
Originally committed as revision 23305 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 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ö
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
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
Kostya Shishkov
bf7c17192f
Make RTMP client send bytes read report
...
Originally committed as revision 21882 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
adb5496146
another 10l: forgot to change parent condition as well
...
Originally committed as revision 21535 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
b381a823cd
10l trocadero: now return value of ff_rtmp_packet_read() has different meaning
...
Originally committed as revision 21534 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
56e29bf2c9
Correct timestamps inside FLV data received by RTMP.
...
Patch by Sergiy (gmail(piratfm))
Originally committed as revision 21161 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Art Clarke
e2ee11e868
Use old-style RTMP handshake for old servers.
...
This fixes issue streaming from Red5 server.
Patch by Art Clarke (aclarke@`echo xyzzy|sed s/y/u/|sed s/y/le/|tr z g`.com)
Originally committed as revision 21160 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
4aaebf78f5
Reply to RTMP ping with the same value as received by client.
...
Patch by Martin Storsjö ($name at $name dot \163\164)
Originally committed as revision 20881 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
cfac91fec3
Dump RTMP packet contents in debug mode
...
Originally committed as revision 20799 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
f8caa5441b
5l trocadero: don't forget to free packet in gen_connect()
...
Patch by Martin Storsjö ($name at $name dot `abbreviation for "street"`)
Originally committed as revision 20798 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
72b870b95b
Do not try to interact with RTMP server after "stop" command was received.
...
Patch by Martin Storsjö ($name at $name dot `Sao Tome and Principe domain`)
Originally committed as revision 20797 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
e07c92e4bb
cosmetics: insert space between codeword and left parenthesis
...
Originally committed as revision 20746 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
615c287990
Do not send invokes to RTMP server if we are not connected to it.
...
Patch by Sergiy (server.connect("gmail.com").selectAddress("piratfm"))
Originally committed as revision 20745 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
c72406112f
cosmetics: reindent after last commit
...
Originally committed as revision 20732 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
6bf22e18d1
Implement RTMP output (publishing FLV stream to RTMP server).
...
Patch by Sergiy (piratfm at `do-no-evil-mail`.com)
Originally committed as revision 20731 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
2784ede40a
Remove duplicating variable
...
Originally committed as revision 20718 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
31da596634
Send connect() and createStream() in RTMP system channel, not video channel.
...
Patch by Sergiy (com gmail . piratfm @ mail =)
Originally committed as revision 20716 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
5e9ad75985
Move "app" string into RTMP protocol context.
...
Patch by Sergiy (com.gmail@piratfm)
Originally committed as revision 20715 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
b316991bb6
Move is_input flag into RTMP protocol context.
...
Patch by Sergiy (gmail(piratfm))
Thread "[PATCH] rtmp-output"
Originally committed as revision 20702 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
e6b244a3b9
Full-header RTMP packets contain real timestamp, others contain timestamp
...
difference, so make all read packets store absolute timestamp.
As a consequence, we don't need to track audio/video timestamps separately
any longer in protocol handler.
Originally committed as revision 20685 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
fe52395878
Print error when RTMP protocol can't open connection
...
Originally committed as revision 20574 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
afbacb931b
Pass only useful FLV metadata from RTMP stream
...
Originally committed as revision 20573 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
1d8041b36c
Split overly long line in doxy.
...
Originally committed as revision 20529 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
f836fa1706
Last parameter in RTMP "play" call was optional and some servers seem not to
...
understand it, so drop it.
Originally committed as revision 20268 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Lars Täuber
f68c8a5039
Do not include "mp4:" prefix from RTMP URL into "app" path or second time
...
into playpath.
Patch by Lars Täuber
(<$name> . <$lastname with umlaut replaced with diphtong> @ <gmx> . <net>)
Originally committed as revision 19894 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
9fd6b84360
RTMP protocol support (as a client)
...
Originally committed as revision 19556 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago