[FFmpeg-devel] [PATCH v4 1/2] avformat: Add AMQP version 0-9-1 protocol support

Marton Balint cus at passwd.hu
Mon Mar 9 23:52:50 EET 2020



On Sun, 8 Mar 2020, Andriy Gelman wrote:

> From: Andriy Gelman <andriy.gelman at gmail.com>
>
> Supports connecting to a RabbitMQ broker via AMQP version 0-9-1.
>
> Signed-off-by: Andriy Gelman <andriy.gelman at gmail.com>
> ---
>
> Changes in v4:
>    - Fixed leak from user_decoded/password_decoded when amqp_new_connection()
>      fails 
>
> Changes in v3:
>    - Fixed a bug when parsing username that contained a url encoded ":"
>    - Fixed documentation error and improved logging
>
> Changes in v2:
>    - Addressed comments from Marton
>    - Updated documentation
>
> Compilation notes:
>    - Requires librabbitmq-dev package (on ubuntu).
>    - The pkg-config libprabbitmq.pc has a corrupt entry.
>      **update: fixed on the github master branch**
>      The line "Libs.private: rt; -lpthread" should be changed to
>      "Libs.private: -lrt -pthread".
>    - Compile FFmpeg with --enable-librabbitmq
>
> Changelog               |   1 +
> configure               |   5 +
> doc/general.texi        |   1 +
> doc/protocols.texi      |  60 ++++++++
> libavformat/Makefile    |   1 +
> libavformat/libamqp.c   | 298 ++++++++++++++++++++++++++++++++++++++++
> libavformat/protocols.c |   1 +
> libavformat/version.h   |   4 +-
> 8 files changed, 369 insertions(+), 2 deletions(-)
> create mode 100644 libavformat/libamqp.c

And finally applied the series.

Thanks,
Marton


More information about the ffmpeg-devel mailing list