diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-08-08 11:49:02 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-08-08 14:22:34 +0200 |
commit | 82613564cfae459796642b22fc0163927d7f49e0 (patch) | |
tree | 2a155565f5885eafdf98398811d714e0c624ecc5 /libavformat/rtmp.h | |
parent | e78e6c37efc98189c4c3d89acd3265d7a7ba6d05 (diff) |
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.
Diffstat (limited to 'libavformat/rtmp.h')
-rw-r--r-- | libavformat/rtmp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/rtmp.h b/libavformat/rtmp.h index b9c5f1e430..c9aa67e056 100644 --- a/libavformat/rtmp.h +++ b/libavformat/rtmp.h @@ -33,6 +33,15 @@ #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 * @{ */ |