= {
{
"rw_timeout",
"Timeout of socket I/O operations",
OFFSET(rw_timeout),
AV_OPT_TYPE_INT64, { .i64 = -1 }, -1, INT64_MAX, .flags =
D|
E },
{
"listen_timeout",
"Connection awaiting timeout",
OFFSET(listen_timeout),
AV_OPT_TYPE_INT64, { .i64 = -1 }, -1, INT64_MAX, .flags =
D|
E },
{
"send_buffer_size",
"Socket send buffer size (in bytes)",
OFFSET(send_buffer_size),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags =
D|
E },
{
"recv_buffer_size",
"Socket receive buffer size (in bytes)",
OFFSET(recv_buffer_size),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags =
D|
E },
{
"maxbw",
"Maximum bandwidth (bytes per second) that the connection can use",
OFFSET(maxbw),
AV_OPT_TYPE_INT64, { .i64 = -1 }, -1, INT64_MAX, .flags =
D|
E },
{
"pbkeylen",
"Crypto key len in bytes {16,24,32} Default: 16 (128-bit)",
OFFSET(pbkeylen),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 32, .flags =
D|
E },
{
"ffs",
"Flight flag size (window size) (in bytes)",
OFFSET(ffs),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags =
D|
E },
{
"inputbw",
"Estimated input stream rate",
OFFSET(inputbw),
AV_OPT_TYPE_INT64, { .i64 = -1 }, -1, INT64_MAX, .flags =
D|
E },
{
"oheadbw",
"MaxBW ceiling based on % over input stream rate",
OFFSET(oheadbw),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 100, .flags =
D|
E },
{
"tsbpddelay",
"TsbPd receiver delay to absorb burst of missed packet retransmission",
OFFSET(tsbpddelay),
AV_OPT_TYPE_INT64, { .i64 = -1 }, -1, INT64_MAX, .flags =
D|
E },
{
"tlpktdrop",
"Enable receiver pkt drop",
OFFSET(tlpktdrop),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, .flags =
D|
E },
{
"nakreport",
"Enable receiver to send periodic NAK reports",
OFFSET(nakreport),
AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, .flags =
D|
E },
{
"connect_timeout",
"Connect timeout. Caller default: 3000, rendezvous (x 10)",
OFFSET(connect_timeout),
AV_OPT_TYPE_INT64, { .i64 = -1 }, -1, INT64_MAX, .flags =
D|
E },
{
"mode",
"Connection mode (caller, listener, rendezvous)",
OFFSET(
mode),
AV_OPT_TYPE_INT, { .i64 =
SRT_MODE_CALLER },
SRT_MODE_CALLER,
SRT_MODE_RENDEZVOUS, .flags =
D|
E,
"mode" },
}
mode
Use these values in ebur128_init (or'ed).