Martin Storsjö
48b1fb1397
rtmp: Reindent
...
Signed-off-by: Martin Storsjö <martin@martin.st>
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
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
bc371aca46
avio: make url_read() 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
Kostya Shishkov
f3cb1cd078
1l trocadero: forgot reference operator on bytestream_get_be32() argument
...
Originally committed as revision 22277 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
0b6b10d9da
Make RTMP send/receive packet functions report number of bytes read or sent.
...
Originally committed as revision 21533 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
09b67cc4bd
cosmetics: add an empty line between variable declarations and code
...
Originally committed as revision 21532 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
251822897f
Remove some unused variables, fixes the warnings:
...
libavformat/rtmppkt.c:350: warning: unused variable ‘i’
libavformat/rtmppkt.c:349: warning: unused variable ‘base’
Originally committed as revision 20917 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
Sergiy
84a29dc10a
Compress headers for output RTMP packets.
...
Patch by Sergiy (piratfmGMAIL)
Originally committed as revision 20728 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
a352b60594
RTMP packets with one-byte header use previous packet timestamp difference, so
...
track timestamp difference as well.
Patch by Sergiy (mail.composeAddress("piratfm","gmail.com"))
Originally committed as revision 20714 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
817d967d96
Write timestamp deltas, not timestamps, for RTMP packets with partial header
...
Originally committed as revision 20686 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
b1eb53ab59
Write header for RTMP packets with channel_id >= 64 correctly
...
Originally committed as revision 20684 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Sergiy
59b6482a04
Read and write extended timestamps for RTMP packets.
...
Extracted from patch by Sergiy in thread "[PATCH] rtmp-output"
Originally committed as revision 20683 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
1ab21f1980
7l trocadero: reading right into enum variable may cause unwanted effects, use
...
intermediate buffer for reading value instead in RTMP protocol handler.
Originally committed as revision 20682 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
87ca1b8f7f
When searching for AMF object field value, try to find that object first
...
instead of assuming it should occur right at given position.
This helps finding human-readable error descriptions in RTMP server replies.
Originally committed as revision 20575 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0f87b77176
Use enum instead of integer types where appropriate.
...
Originally committed as revision 20482 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
5d660598b0
Support more than 64 channels in RTMP input
...
Originally committed as revision 20270 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
8f648b74c3
Accept RTMP packets with one-byte header
...
Originally committed as revision 20269 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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