]> granicus.if.org Git - rtmpdump/log
rtmpdump
5 years agoReject Content-Length over 2^31 master
Howard Chu [Sat, 30 Mar 2019 21:33:00 +0000 (21:33 +0000)]
Reject Content-Length over 2^31

Nobody's going to sit around waiting for > 2GB to download in one chunk

5 years agoCheck for valid Content-Length, datestamp overflow
Howard Chu [Sat, 30 Mar 2019 02:46:40 +0000 (02:46 +0000)]
Check for valid Content-Length, datestamp overflow

9 years agoFix issue 6-7/7 from LMX of Qihoo 360 Codesafe Team
Howard Chu [Wed, 23 Dec 2015 18:58:50 +0000 (18:58 +0000)]
Fix issue 6-7/7 from LMX of Qihoo 360 Codesafe Team

Additional decode input size checks

9 years agoFix issue 5/7 from LMX of Qihoo 360 Codesafe Team
Howard Chu [Wed, 23 Dec 2015 18:28:13 +0000 (18:28 +0000)]
Fix issue 5/7 from LMX of Qihoo 360 Codesafe Team

Ignore zero-length packets

9 years agoFix issue 4/7 from LMX of Qihoo 360 Codesafe Team
Howard Chu [Wed, 23 Dec 2015 18:10:15 +0000 (18:10 +0000)]
Fix issue 4/7 from LMX of Qihoo 360 Codesafe Team

Potential integer overflow in RTMPPacket_Alloc().

Aside: issue 3/7 could not be reproduced.

9 years agoFix issue 2/7 from LMX of Qihoo 360 Codesafe Team
Howard Chu [Wed, 23 Dec 2015 17:53:34 +0000 (17:53 +0000)]
Fix issue 2/7 from LMX of Qihoo 360 Codesafe Team

Obsolete RTMPPacket_Free() call left over from original C++ to C rewrite

9 years agoFix issue 1/7 from LMX of Qihoo 360 Codesafe Team
Howard Chu [Wed, 23 Dec 2015 17:51:39 +0000 (17:51 +0000)]
Fix issue 1/7 from LMX of Qihoo 360 Codesafe Team

AMFProp_GetObject must make sure the prop is actually an object

9 years agoupdate copyright year
compn [Tue, 15 Dec 2015 00:21:35 +0000 (19:21 -0500)]
update copyright year

9 years agotest x2
compn [Tue, 15 Dec 2015 00:15:59 +0000 (19:15 -0500)]
test x2

9 years agotest commit hook
compn [Tue, 15 Dec 2015 00:12:34 +0000 (19:12 -0500)]
test commit hook

9 years agoMore for input buffer checks
Howard Chu [Mon, 14 Dec 2015 20:59:16 +0000 (20:59 +0000)]
More for input buffer checks

Fix 39ec7eda489717d503bc4cbfaa591c93205695b6
move the check to allow valid loop termination

9 years agoIgnore requests without playpath
Howard Chu [Mon, 14 Dec 2015 18:43:14 +0000 (18:43 +0000)]
Ignore requests without playpath

9 years agoFix AMF3_Decode
Howard Chu [Mon, 14 Dec 2015 18:31:18 +0000 (18:31 +0000)]
Fix AMF3_Decode

check for input buffer underrun

9 years agoFix AMF3ReadString
Howard Chu [Mon, 14 Dec 2015 17:49:19 +0000 (17:49 +0000)]
Fix AMF3ReadString

Init str on unsupported references

9 years agoPut loglevel check in RTMP_Log
Howard Chu [Mon, 14 Dec 2015 17:36:07 +0000 (17:36 +0000)]
Put loglevel check in RTMP_Log

9 years agoAdd extended timestamp for Type 3 chunks if necessary
Cheolho Park [Wed, 14 Jan 2015 21:24:12 +0000 (23:24 +0200)]
Add extended timestamp for Type 3 chunks if necessary

Section 5.3.1.3 of the RTMP spec say that type 3 packets also
should repeat this field. This matches what the parsing code (in
RTMP_ReadPacket) does.

10 years agoReplace RTMP_PUB_ALLOC with RTMP_LF_FTCU and RTMP_LF_FAPU
Martin Storsjo [Sat, 5 Jul 2014 22:09:31 +0000 (01:09 +0300)]
Replace RTMP_PUB_ALLOC with RTMP_LF_FTCU and RTMP_LF_FAPU

This gets rid of the overlap between these two flags, shortening
the code somewhat.

10 years agoSimplify the logic for freeing reused strings in RTMP_Close
Martin Storsjo [Sat, 5 Jul 2014 21:58:26 +0000 (00:58 +0300)]
Simplify the logic for freeing reused strings in RTMP_Close

Instead of having a plethora of flags indicating the current
state (just to avoid freeing them when closing the previous
connection when reconnecting), split RTMP_Close into CloseInternal,
taking a flag saying whether this is a reconnect or a normal,
final RTMP_Close call.

This also avoids leaks of some strings, if the whole session is
closed while the authentication process is underway.

10 years agoSet RTMP_PUB_ALLOC if tcUrl is allocated in PublisherAuth
Martin Storsjo [Sat, 5 Jul 2014 21:44:29 +0000 (00:44 +0300)]
Set RTMP_PUB_ALLOC if tcUrl is allocated in PublisherAuth

This makes sure we don't free tcUrl in RTMP_Close when reconnecting,
and avoids leaks (or simplifies code to avoid leaks).

This fixes connecting with authentication (both adobe and limelight)
when the app has been specified separately from the rest of the url.

This is only a temporary step while refactoring, this is removed
in a later commit.

10 years agoReconnect directly when authenticating, don't wait for the close message
Martin Storsjo [Fri, 4 Jul 2014 19:37:29 +0000 (22:37 +0300)]
Reconnect directly when authenticating, don't wait for the close message

This fixes authentication with wowza 4.x servers, which don't
send any close message in the authentication process.

10 years agoExtended timestamp field may be present in type 3 chunk headers
Martin Panter [Wed, 18 Sep 2013 01:58:01 +0000 (11:58 +1000)]
Extended timestamp field may be present in type 3 chunk headers

As described in Adobe’s RTMP specification dated 21 Dec 2012; also:

* RTMPY ticket #107, “Compressed headers also can have an extended
  timestamp”,
  http://web.archive.org/web/20120624031323/http://dev.rtmpy.org/ticket/107
* https://rarut.wordpress.com/2012/03/21/announcing-nginx-rtmp-module/

This resolves intermittent hangs, segfaults and crashes I was seeing when
starting ABC News 24 streams, e.g.:

rtmpdump -r rtmp://cp81899.live.edgefcs.net/live/news24-med@28772 --live

Some of the packets seemed to contain junk timestamp fields, which often
required the extended field.

11 years agoFix leaks in AMF objects that contain arrays
Martin Storsjo [Thu, 5 Dec 2013 09:27:30 +0000 (11:27 +0200)]
Fix leaks in AMF objects that contain arrays

11 years agoFree the extra read buffer if the initial FLV buffer overflowed
Martin Storsjo [Thu, 5 Dec 2013 09:06:49 +0000 (11:06 +0200)]
Free the extra read buffer if the initial FLV buffer overflowed

This fixes a leak in this cornercase.

11 years agoCorrect the count of bytes written to the initial FLV buffer
Martin Storsjo [Thu, 5 Dec 2013 09:00:43 +0000 (11:00 +0200)]
Correct the count of bytes written to the initial FLV buffer

This matters if the buffer overflows, when the count is used
for patching the buffer back together. This happens if there
are multiple video packets with zero timestamp at the start
of the stream (before any audio packets), enough to fill the buffer.

11 years agoBump the SO_VERSION to 1
Martin Storsjo [Mon, 7 Oct 2013 09:00:03 +0000 (12:00 +0300)]
Bump the SO_VERSION to 1

Commit a9282329c3 changed the layout of the RTMP struct, making
it ABI-incompatible with previous versions.

11 years agoInclude -lgmp in the pkg-config file when building with gnutls
Martin Storsjo [Mon, 23 Sep 2013 19:45:29 +0000 (22:45 +0300)]
Include -lgmp in the pkg-config file when building with gnutls

This is required when a user of librtmp is linking statically to
librtmp (when it is built with gnutls support).

Ideally everything of the Requires line should be in
Requires.private, and -lgmp would go into Libs.private - but if
only building a static lib, they should go where they are right
now instead. Keeping all of this where it is right now, for now,
for simplicity.

11 years agoInclude the nettle/hogweed crypto libraries in the pkg-config file
Martin Storsjo [Mon, 23 Sep 2013 19:05:16 +0000 (22:05 +0300)]
Include the nettle/hogweed crypto libraries in the pkg-config file

These libraries are linked and used as directly as we use gnutls
itself. This fixes linking for callers if librtmp is built
statically or if the linker doesn't support transitive linking.

11 years agoFix limelight authentication with abbreviated app names
Martin Storsjo [Thu, 15 Aug 2013 10:37:37 +0000 (13:37 +0300)]
Fix limelight authentication with abbreviated app names

When streaming to limelight, the app name is either a full
"appname/subaccount" or "appname/_definst_". In the latter case,
the app name can be simplified into simply "appname", but the
authentication hashing assumes the /_definst_ still to be present.

11 years agoDon't do strchr on a string that isn't necessarily null-terminated
Martin Storsjo [Thu, 15 Aug 2013 10:37:19 +0000 (13:37 +0300)]
Don't do strchr on a string that isn't necessarily null-terminated

11 years agoDon't use non-public gnutls functions
Martin Storsjo [Fri, 19 Jul 2013 12:40:25 +0000 (15:40 +0300)]
Don't use non-public gnutls functions

The internal functions gnutls_calc_dh_secret and gnutls_calc_dh_key
have changed signature in recent gnutls versions - don't use them
but manually do roughly the same as what they used to do before
using only public API functions.

11 years agoRemove a useless leftover comment
Martin Storsjo [Sun, 30 Dec 2012 20:52:04 +0000 (22:52 +0200)]
Remove a useless leftover comment

The variable is any random challenge, thus the byte order doesn't
matter at all.

11 years agoOnly use one challenge value in adobe auth
Martin Storsjo [Sun, 30 Dec 2012 12:03:58 +0000 (14:03 +0200)]
Only use one challenge value in adobe auth

Some servers (akamai) only include a 'challenge' parameter, no
'opaque' parameter, while others (wowza) include both 'opaque'
and 'challenge'. If 'opaque' is provided, it should be used here,
otherwise 'challenge', but never both.

After this patch, adobe auth works against both wowza and akamai
servers.

11 years agoCorrect the length of base64 digests
Björn Axelsson [Sun, 30 Dec 2012 12:01:57 +0000 (14:01 +0200)]
Correct the length of base64 digests

This was broken in e42b5d09. This makes adobe auth against
akamai servers work again.

12 years agoFix b77a7dc719f8b04274db91f6344f4358a78d9c5f
Howard Chu [Sun, 9 Dec 2012 12:12:15 +0000 (04:12 -0800)]
Fix b77a7dc719f8b04274db91f6344f4358a78d9c5f

DumpMetadata needs to recognize ARRAY types now.

12 years agoPolarSSL 1.2.x compat
Howard Chu [Fri, 9 Nov 2012 15:58:08 +0000 (07:58 -0800)]
PolarSSL 1.2.x compat

12 years agoFix gnutls build
Howard Chu [Fri, 2 Nov 2012 00:00:31 +0000 (17:00 -0700)]
Fix gnutls build

Missing semicolon in e42b5d0926b1a668d7fbd794a70f31040c5f198d

12 years agoPolarSSL version fixes
Howard Chu [Tue, 30 Oct 2012 21:40:14 +0000 (14:40 -0700)]
PolarSSL version fixes

Fix commit a312ac7770207bd7d07725c1aef43725206e803a

12 years agoLook for a fourth slash when splitting the url into app+playpath
Björn Axelsson [Tue, 30 Oct 2012 17:31:01 +0000 (19:31 +0200)]
Look for a fourth slash when splitting the url into app+playpath

12 years agoSimplify initializing the TLS server context
Martin Storsjo [Tue, 30 Oct 2012 17:22:16 +0000 (19:22 +0200)]
Simplify initializing the TLS server context

This does the same thing, but I wasn't aware of these functions
when I initially wrote this.

12 years agoMore authentication cleanup
Howard Chu [Tue, 30 Oct 2012 18:30:07 +0000 (11:30 -0700)]
More authentication cleanup

12 years agoCleanup authentication code
Howard Chu [Tue, 30 Oct 2012 18:17:41 +0000 (11:17 -0700)]
Cleanup authentication code

from commit 9ecf540e4d5bdc85c17668fa7ead93cc375111ca

12 years agoFix dll name to have SO_VERSION
LRN [Sat, 5 May 2012 17:15:36 +0000 (21:15 +0400)]
Fix dll name to have SO_VERSION

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

subj is attached

Changes librtmp.dll into librtmp-$(SO_VERSION).dll, the same form that
libtool uses.
librtmp.dll is still created from librtmp-$(SO_VERSION).dll via `ln
- -sf'; obviously, it makes a hardlink when called in MSYS, but that's
no worse than what we have right now.

Please, CC me, since i'm not subscibed to this list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPpWA2AAoJEOs4Jb6SI2Cw+xIH/jqI7SbM1nMHBhFDSDtDFxim
zzlX5zsU9Ss45ZX9VMdzXLSDvxsuB6a97svMlipU2HOs4Ba1rcO8fdNII/8lD7nt
yIWiGDcyZNXP7xBXJOVahYwzDzpyGhOychl2XlgW8/9lY7V1DYFjlPUSWdfw8IH0
iUX6PKMjrN3n4TTIh1kTwG0YHBRq2JdsRAaTB1uQDwBwNFkNPegWTO8oVvtlb1sc
gxhmN08o/S7nWAJRs5+Ah9eYSvWJral5yzIcxeOISGkZJxLs16F0b5iVtd2J1xN4
3mNQH4W3n7q/EcsF18/UwI8VjcAZnyCXMGI1VXp9frFEvm8//Bv9jSrWKfrZPwI=
=/n61
-----END PGP SIGNATURE-----

From 4d885c0ef9eab89ec7ed1383fd5cba5587a6a311 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1=D1?=
 =?UTF-8?q?=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <lrn1986@gmail.com>
Date: Sat, 5 May 2012 21:05:30 +0400
Subject: [PATCH] Fix dll name to have SO_VERSION

12 years agoAdd support for limelight authentication
Björn Axelsson [Tue, 20 Mar 2012 17:12:23 +0000 (19:12 +0200)]
Add support for limelight authentication

12 years agoAdd adobe authentication support
Martin Storsjo [Tue, 30 Oct 2012 16:09:25 +0000 (09:09 -0700)]
Add adobe authentication support

From: Sergiy <piratfm@gmail.com>

To use this, add flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)
and pubUser=<username> pubUser=<password> to the RTMP url.

This should both work for generic adobe authentication, and for
publishing to akamai.

12 years agoAllocate the channel arrays dynamically
Martin Storsjo [Wed, 30 May 2012 19:07:23 +0000 (22:07 +0300)]
Allocate the channel arrays dynamically

This avoids having to allocate space for all theoretical channels
if most of them aren't used. This drops the size of the full
RTMP struct from over 1200 KB to 16 KB (on 64 bit), and as long as
only channels with a low number are used, the amount of total
allocated memory stays far below what it was before.

12 years agoFree skipped packets in RTMP_GetNextMediaPacket
Martin Storsjo [Wed, 30 May 2012 19:06:57 +0000 (22:06 +0300)]
Free skipped packets in RTMP_GetNextMediaPacket

12 years agoUse CRLF newlines consistently for all HTTP POST headers
Martin Storsjo [Mon, 21 May 2012 20:52:11 +0000 (23:52 +0300)]
Use CRLF newlines consistently for all HTTP POST headers

12 years agoRefill if HTTP_read indicated it needs more data
Martin Storsjo [Mon, 21 May 2012 15:17:32 +0000 (18:17 +0300)]
Refill if HTTP_read indicated it needs more data

HTTP_read wants to skip past the first payload byte, so
it actually needs to have at least 144 + 1 bytes buffered.

This also avoids relying on the magic 144 byte constant altogether,
which could easily break if servers include less reply headers.

12 years agoDon't require 144 bytes to be buffered before proceeding with HTTP_read
Martin Storsjo [Mon, 21 May 2012 15:17:31 +0000 (18:17 +0300)]
Don't require 144 bytes to be buffered before proceeding with HTTP_read

This makes the code more flexible, if servers were to use
smaller headers.

12 years agoBuffer more data before returning successfully from HTTP_read, if needed
Martin Storsjo [Mon, 21 May 2012 15:17:30 +0000 (18:17 +0300)]
Buffer more data before returning successfully from HTTP_read, if needed

This fixes issues if the http header and the payload data
are sent in separate packets (as they normally are), and the
buffer contains the full header but none of the payload.

12 years agoAdd null termination to buffers before using strstr
Martin Storsjo [Mon, 21 May 2012 15:17:29 +0000 (18:17 +0300)]
Add null termination to buffers before using strstr

12 years agoSupport rtmps in rtmpsrv
Martin Storsjo [Sun, 20 May 2012 20:37:35 +0000 (23:37 +0300)]
Support rtmps in rtmpsrv

12 years agoAdd functions for doing server side TLS initialization
Martin Storsjo [Tue, 30 Oct 2012 15:57:43 +0000 (08:57 -0700)]
Add functions for doing server side TLS initialization

12 years agoReplace hardcoded constants and comments with proper named constants
Martin Storsjo [Sun, 20 May 2012 20:36:58 +0000 (23:36 +0300)]
Replace hardcoded constants and comments with proper named constants

12 years agoAllocate the RTMP struct dynamically
Martin Storsjo [Sun, 20 May 2012 20:36:57 +0000 (23:36 +0300)]
Allocate the RTMP struct dynamically

This struct is over 1 MB in size, and doesn't fit on the stack
on OS X.

12 years agoCleanup prev commit
Howard Chu [Tue, 30 Oct 2012 15:50:34 +0000 (08:50 -0700)]
Cleanup prev commit

12 years agoHandle AMF_ECMA_ARRAY and AMF_STRICT_ARRAY objects
goggle1 [Tue, 30 Oct 2012 15:47:19 +0000 (08:47 -0700)]
Handle AMF_ECMA_ARRAY and AMF_STRICT_ARRAY objects

12 years agoFix socks support for SetupURL
Matthew Garrett [Sun, 8 Jul 2012 20:26:14 +0000 (16:26 -0400)]
Fix socks support for SetupURL

SetupURL assigns sockshost but never parses the data. This patch factors
the code out from SetupStream into a common function and adds it to
SetupURL.

12 years agoFix compat with PolarSSL >= 1.1.0
Howard Chu [Tue, 30 Oct 2012 15:41:49 +0000 (08:41 -0700)]
Fix compat with PolarSSL >= 1.1.0

12 years agoFix rare infinite loop on EOF
Howard Chu [Tue, 30 Oct 2012 15:28:15 +0000 (08:28 -0700)]
Fix rare infinite loop on EOF

reported by Matt Robison <rtmpdump@nerdoftheherd.com>

12 years agoFix bogus optarg refs in prev commit
Howard Chu [Tue, 30 Oct 2012 15:20:14 +0000 (08:20 -0700)]
Fix bogus optarg refs in prev commit

12 years agoMake rtmpgw handle full RTMP URLs with "-i"
Bastien Nocera [Thu, 19 Jul 2012 16:22:03 +0000 (17:22 +0100)]
Make rtmpgw handle full RTMP URLs with "-i"

or --url. Just as rtmpdump and librtmp already can.

12 years agoMake rtmpdump handle full RTMP URLs with "-i"
Bastien Nocera [Tue, 30 Oct 2012 15:16:36 +0000 (08:16 -0700)]
Make rtmpdump handle full RTMP URLs with "-i"

12 years agoAdd option --realtime (-R) to rtmpdump to disable the BUFX hack
Ulrik Dickow [Tue, 24 Jul 2012 15:17:26 +0000 (17:17 +0200)]
Add option --realtime (-R) to rtmpdump to disable the BUFX hack

12 years agoAdd .gitignore to ignore generated files
Ulrik Dickow [Thu, 26 Jul 2012 11:57:23 +0000 (04:57 -0700)]
Add .gitignore to ignore generated files

12 years agoCleanup prev commit, drop gcrypt support
Howard Chu [Fri, 9 Mar 2012 07:19:45 +0000 (23:19 -0800)]
Cleanup prev commit, drop gcrypt support

12 years agoAdd support for building with gnutls with nettle as backend
Martin Storsjo [Fri, 9 Mar 2012 07:10:11 +0000 (23:10 -0800)]
Add support for building with gnutls with nettle as backend

12 years agoFix upper bound check in AMF_GetProp
Josh Allmann [Fri, 24 Feb 2012 21:46:59 +0000 (13:46 -0800)]
Fix upper bound check in AMF_GetProp

12 years agoRemove extra object end tag in Connect reply
Joshua Allmann [Fri, 24 Feb 2012 21:44:29 +0000 (13:44 -0800)]
Remove extra object end tag in Connect reply

13 years agoSupport decoding AMF_XML_DOC
Antti Ajanki [Fri, 23 Dec 2011 01:54:10 +0000 (17:54 -0800)]
Support decoding AMF_XML_DOC

MF_XML_DOC data is an XML document which is encoded similarly to a
long string.

13 years agoFix log messages
Howard Chu [Tue, 15 Nov 2011 00:17:27 +0000 (16:17 -0800)]
Fix log messages

13 years agoFix mismatched format string conversions
Martin Storsjo [Tue, 15 Nov 2011 00:12:26 +0000 (16:12 -0800)]
Fix mismatched format string conversions

13 years agoTell gcc about log format strings
Martin Storsjo [Tue, 15 Nov 2011 00:11:13 +0000 (16:11 -0800)]
Tell gcc about log format strings

13 years agoFix missing log message parameter
Martin Storsjo [Tue, 15 Nov 2011 00:09:26 +0000 (16:09 -0800)]
Fix missing log message parameter

13 years agoCheck for malloc failure in prev commit
Howard Chu [Tue, 8 Nov 2011 10:14:21 +0000 (02:14 -0800)]
Check for malloc failure in prev commit

13 years agoCalculate tcUrl length
Howard Chu [Tue, 8 Nov 2011 10:13:14 +0000 (02:13 -0800)]
Calculate tcUrl length

13 years agoSpell Referer according to RFC1945
Howard Chu [Tue, 8 Nov 2011 10:05:01 +0000 (02:05 -0800)]
Spell Referer according to RFC1945

13 years agoIncrease tcUrl buffer size
Howard Chu [Tue, 8 Nov 2011 10:04:01 +0000 (02:04 -0800)]
Increase tcUrl buffer size

13 years agoFix getting swf hash with https URLs
Jeff Johnson [Mon, 7 Nov 2011 19:43:26 +0000 (11:43 -0800)]
Fix getting swf hash with https URLs

13 years agoFix bytes-received report
KSV [Mon, 7 Nov 2011 19:38:27 +0000 (11:38 -0800)]
Fix bytes-received report

13 years agofixed undefined behaviour due to union assignment
Kirill Zorin [Fri, 30 Sep 2011 17:38:23 +0000 (13:38 -0400)]
fixed undefined behaviour due to union assignment

13 years agoPolarSSL support now requires version 1.0.0.
Howard Chu [Sun, 25 Sep 2011 10:07:14 +0000 (03:07 -0700)]
PolarSSL support now requires version 1.0.0.

13 years agoAdd RD_NO_CONNECT return code for Connect failures
Howard Chu [Fri, 12 Aug 2011 01:02:10 +0000 (18:02 -0700)]
Add RD_NO_CONNECT return code for Connect failures

13 years agoFix AVreplace for usherToken
Howard Chu [Tue, 9 Aug 2011 21:44:14 +0000 (14:44 -0700)]
Fix AVreplace for usherToken

13 years agoFix <arpa/inet.h> include order
Howard Chu [Wed, 3 Aug 2011 18:46:07 +0000 (11:46 -0700)]
Fix <arpa/inet.h> include order

13 years agoUnexpected BW Response Fix
Chris Larsen [Tue, 2 Aug 2011 16:33:44 +0000 (12:33 -0400)]
Unexpected BW Response Fix

Bug: SendCheckBWResult sends an invalid bw response due to casting issues
from a double to an int.

13 years agoCleanup previous commit
Howard Chu [Sun, 31 Jul 2011 20:21:12 +0000 (13:21 -0700)]
Cleanup previous commit

13 years agoJustin.TV usherToken detection
KSV [Sun, 31 Jul 2011 19:33:46 +0000 (12:33 -0700)]
Justin.TV usherToken detection

13 years agoDarwin dylib updates
Scott D. Davilla [Fri, 29 Jul 2011 18:26:35 +0000 (11:26 -0700)]
Darwin dylib updates

Bring in line with current practice for Darwin dynamic libs

13 years agoPlug potential memleak
Howard Chu [Sat, 23 Jul 2011 01:06:27 +0000 (18:06 -0700)]
Plug potential memleak

Reported by Reijo Tomperi <aggro80@users.sourceforge.net>

13 years agoFix MDH_free() for PolarSSL
Howard Chu [Sat, 23 Jul 2011 01:04:05 +0000 (18:04 -0700)]
Fix MDH_free() for PolarSSL

Reported by Reijo Tomperi <aggro80@users.sourceforge.net>

13 years agoDon't try to close an already closed socket
Martin Storsjo [Fri, 15 Jul 2011 10:46:03 +0000 (13:46 +0300)]
Don't try to close an already closed socket

This could happen if WriteN() (called within SendBytesReceived())
failed.

13 years agoCheck the return value from RTMP_SendBytesReceived()
Martin Storsjo [Fri, 15 Jul 2011 10:46:02 +0000 (13:46 +0300)]
Check the return value from RTMP_SendBytesReceived()

This avoids double frees in RTMP_Close(), if the
RTMP_SendBytesReceived() call failed, which earlier led
to RTMP_ReadPacket() writing back an already freed buffer
(freed by RTMP_Close() within WriteN()) into m_vecChannelsIn.

13 years agoGenerate and install an import lib for the built DLL
Martin Storsjo [Sat, 30 Apr 2011 11:30:01 +0000 (14:30 +0300)]
Generate and install an import lib for the built DLL

13 years agoCreate the SODIR, too
Martin Storsjo [Sat, 30 Apr 2011 11:30:00 +0000 (14:30 +0300)]
Create the SODIR, too

When SYS=mingw, this differs from LIBDIR.

13 years agoRemove the generated pkg-config file on make clean
Martin Storsjo [Sat, 30 Apr 2011 11:29:58 +0000 (14:29 +0300)]
Remove the generated pkg-config file on make clean

13 years agoRegenerate HTML docs, minor tweaks
Howard Chu [Fri, 22 Jul 2011 00:31:14 +0000 (17:31 -0700)]
Regenerate HTML docs, minor tweaks

13 years agoSquashed commit of the following:
toine512 [Fri, 22 Jul 2011 00:10:13 +0000 (17:10 -0700)]
Squashed commit of the following:

commit 84b160fdc8e6aaff9b5b214d90e8f002cc4185dd
Author: toine512 <toine512@gmail.com>
Date:   Wed Jul 20 23:09:26 2011 +0200

    Updates man .. again

commit 717c562b844595f5b24da268a5f5203d921ebc89
Author: toine512 <toine512@gmail.com>
Date:   Wed Jul 20 21:00:44 2011 +0200

    More updates in man files, regenerating HTML files needed

commit 8196cf03b2ff7b9483166302bf79a0760fed2772
Author: toine512 <toine512@gmail.com>
Date:   Wed Jul 20 20:42:41 2011 +0200

    Updates ChangeLog

commit 7a6931cffd0ffd2d0997ffed2bd7609e9a043387
Author: toine512 <toine512@gmail.com>
Date:   Wed Jul 20 20:37:40 2011 +0200

    Updates man files, regenerating HTML files is needed

commit 1cb67af20bb4085b87123299956c6b4d2d2b1484
Author: toine512 <toine512@gmail.com>
Date:   Wed Jul 20 20:03:16 2011 +0200

    Implements Justin.tv support (NetStream.Authenticate.UsherToken)

13 years agov2.4 changes v2.4
Howard Chu [Tue, 12 Jul 2011 00:24:33 +0000 (17:24 -0700)]
v2.4 changes

13 years agoVersion bump
Howard Chu [Tue, 12 Jul 2011 00:22:43 +0000 (17:22 -0700)]
Version bump