#include <amqp.h>
#include <amqp_tcp_socket.h>
#include <sys/time.h>
#include "avformat.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "network.h"
#include "url.h"
#include "urldecode.h"
Go to the source code of this file.
◆ STR_LEN
◆ DEFAULT_CHANNEL
#define DEFAULT_CHANNEL 1 |
◆ OFFSET
◆ amqp_proto_open()
static int amqp_proto_open |
( |
URLContext * |
h, |
|
|
const char * |
uri, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ amqp_proto_write()
static int amqp_proto_write |
( |
URLContext * |
h, |
|
|
const unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ amqp_proto_read()
static int amqp_proto_read |
( |
URLContext * |
h, |
|
|
unsigned char * |
buf, |
|
|
int |
size |
|
) |
| |
|
static |
◆ amqp_proto_close()
◆ options
Initial value:= {
{
"pkt_size",
"Maximum send/read packet size",
OFFSET(pkt_size),
AV_OPT_TYPE_INT, { .i64 = 131072 }, 4096, INT_MAX, .flags =
D |
E },
{
"connection_timeout",
"Initial connection timeout",
OFFSET(connection_timeout),
AV_OPT_TYPE_DURATION, { .i64 = -1 }, -1, INT64_MAX, .flags =
D |
E},
{
"delivery_mode",
"Delivery mode",
OFFSET(delivery_mode),
AV_OPT_TYPE_INT, { .i64 = AMQP_DELIVERY_PERSISTENT }, 1, 2, .flags =
E, .unit =
"delivery_mode"},
{
"persistent",
"Persistent delivery mode", 0,
AV_OPT_TYPE_CONST, { .i64 = AMQP_DELIVERY_PERSISTENT }, 0, 0,
E, .unit =
"delivery_mode" },
{
"non-persistent",
"Non-persistent delivery mode", 0,
AV_OPT_TYPE_CONST, { .i64 = AMQP_DELIVERY_NONPERSISTENT }, 0, 0,
E, .unit =
"delivery_mode" },
}
Definition at line 50 of file libamqp.c.
◆ amqp_context_class
Initial value:= {
.class_name = "amqp",
}
Definition at line 306 of file libamqp.c.
◆ ff_libamqp_protocol