From 82613564cfae459796642b22fc0163927d7f49e0 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 8 Aug 2012 11:49:02 +0200 Subject: rtmp: send check_bw as notification Set the transactionId to 0 to signal the server a return _result/_error is not expected. Solves the problems experienced with strict rtmp servers. --- libavformat/rtmp.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavformat/rtmp.h') diff --git a/libavformat/rtmp.h b/libavformat/rtmp.h index b9c5f1e430..c9aa67e056 100644 --- a/libavformat/rtmp.h +++ b/libavformat/rtmp.h @@ -32,6 +32,15 @@ #define HMAC_IPAD_VAL 0x36 #define HMAC_OPAD_VAL 0x5C +/** + * A non-zero transaction id requires the server to send back + * a _result or _error response. + * Setting it to 0 marks the message as a notification not + * requiring feedback. + */ + +#define RTMP_NOTIFICATION 0 + /** * emulated Flash client version - 9.0.124.2 on Linux * @{ -- cgit v1.2.3