Home
last modified time | relevance | path

Searched refs:rw_timeout (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavformat/
Dtcp.c40 int rw_timeout; member
55 …{ "timeout", "set timeout (in microseconds) of socket I/O operations", OFFSET(rw_timeout), …
133 s->rw_timeout = strtol(buf, NULL, 10); in tcp_open()
142 if (s->rw_timeout >= 0) { in tcp_open()
144 h->rw_timeout = s->rw_timeout; in tcp_open()
243 ret = ff_network_wait_fd_timeout(s->fd, 0, h->rw_timeout, &h->interrupt_callback); in tcp_read()
259 ret = ff_network_wait_fd_timeout(s->fd, 1, h->rw_timeout, &h->interrupt_callback); in tcp_write()
Drtpproto.c63 int64_t rw_timeout; member
80 … timeout (in microseconds) of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TY…
276 s->rw_timeout = strtol(buf, NULL, 10); in rtp_open()
299 if (s->rw_timeout >= 0) in rtp_open()
300 h->rw_timeout = s->rw_timeout; in rtp_open()
399 int runs = h->rw_timeout / 1000 / POLLING_TIME; in rtp_read()
423 } else if (n == 0 && h->rw_timeout > 0 && --runs <= 0) { in rtp_read()
Dlibamqp.c146 s->connection_timeout = (h->rw_timeout > 0 ? h->rw_timeout : 5000000); in amqp_proto_open()
244 ret = ff_network_wait_fd_timeout(fd, 1, h->rw_timeout, &h->interrupt_callback); in amqp_proto_write()
273 ret = ff_network_wait_fd_timeout(fd, 0, h->rw_timeout, &h->interrupt_callback); in amqp_proto_read()
Dlibsrt.c56 int64_t rw_timeout; member
100 … of socket I/O operations (in microseconds)", OFFSET(rw_timeout), AV_OPT_T…
406 s->rw_timeout = strtoll(buf, NULL, 10); in libsrt_setup()
412 if (s->rw_timeout >= 0) { in libsrt_setup()
413 open_timeout = h->rw_timeout = s->rw_timeout; in libsrt_setup()
684 ret = libsrt_network_wait_fd_timeout(h, s->eid, 0, h->rw_timeout, &h->interrupt_callback); in libsrt_read()
703 ret = libsrt_network_wait_fd_timeout(h, s->eid, 1, h->rw_timeout, &h->interrupt_callback); in libsrt_write()
Dunix.c75 if (s->timeout < 0 && h->rw_timeout) in unix_open()
76 s->timeout = h->rw_timeout / 1000; in unix_open()
Dlibssh.c39 int rw_timeout; member
55 if (libssh->rw_timeout > 0) { in libssh_create_ssh_session()
56 long timeout = libssh->rw_timeout * 1000; in libssh_create_ssh_session()
479 …{"timeout", "set timeout of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -…
Dlibzmq.c148 ret = zmq_proto_wait_timeout(h, s->socket, 1, h->rw_timeout, &h->interrupt_callback); in zmq_proto_write()
164 ret = zmq_proto_wait_timeout(h, s->socket, 0, h->rw_timeout, &h->interrupt_callback); in zmq_proto_read()
Dftp.c66 int rw_timeout; /**< Network timeout. */ member
84 …{"timeout", "set timeout of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -…
574 if (s->rw_timeout != -1) { in ftp_connect_control_connection()
575 av_dict_set_int(&opts, "timeout", s->rw_timeout, 0); in ftp_connect_control_connection()
628 if (s->rw_timeout != -1) { in ftp_connect_data_connection()
629 av_dict_set_int(&opts, "timeout", s->rw_timeout, 0); in ftp_connect_data_connection()
Davio.c60 …{"rw_timeout", "Timeout for IO operations (in microseconds)", offsetof(URLContext, rw_timeout), AV…
380 if (h->rw_timeout) { in retry_transfer_wrapper()
383 else if (av_gettime_relative() > wait_since + h->rw_timeout) in retry_transfer_wrapper()
Durl.h47 …int64_t rw_timeout; /**< maximum time to wait for (network) read/write operation completio… member
Dudp.c760 h->rw_timeout = s->timeout; in udp_open()
/third_party/ffmpeg/doc/
Dprotocols.texi47 @item rw_timeout
111 default value is rw_timeout, or 5 seconds if rw_timeout is not set.
318 you either need to use the rw_timeout option, or use the interrupt callback