summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
Commit message (Collapse)AuthorAgeFilesLines
* doc/protocols: update rtsp optionsAndriy Gelman2021-04-101-1/+10
| | | | | | Define listen_timeout and user_agent. Set timeout and user-agent to deprecated. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
* avformat/rtsp: support buffer_size and pkt_size options for RTPJiangjie Gao2021-03-191-0/+3
| | | | | | | | | And forward it to the underlying UDP protocol. Fixes ticket #7517. Signed-off-by: Jiangjie Gao <gaojiangjie@live.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/http,tls: honor http_proxy command line variable for HTTPSMoritz Barsnick2021-03-191-0/+4
| | | | | | | | | | | | | | | | | | Add the "http_proxy" option and its handling to the "tls" protocol, pass the option from the "https" protocol. The "https" protocol already defines the "http_proxy" command line option, like the "http" protocol does. The "http" protocol properly honors that command line option in addition to the environment variable. The "https" protocol doesn't, because the proxy is evaluated in the underlying "tls" protocol, which doesn't have this option, and thus only handles the environment variable, which it has access to. Fixes #7223. Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/librist: clarify and limit buffer_sizeMarton Balint2021-03-131-1/+3
| | | | | | As suggested by librist developers. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/librist: increase default loglevelMarton Balint2021-03-131-1/+3
| | | | | | | | | Also remove AV_LOG_SIMULATE from the list as it is not used directly, and do not use panic level on unknown loglevel, but make them warn. Also fix mapping of NOTICE/INFO/VERBOSE and add documentation about when the option should actually be used. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/librist: make packet size adjustable for writing, fix it for readingMarton Balint2021-03-131-0/+3
| | | | | | | | Maximum packet size is 10000 (RIST_MAX_PACKET_SIZE, which is unfortunately private) minus the RIST protocol overhead which is 28 bytes for the unencrypted case, 36 for the encrypted case. Signed-off-by: Marton Balint <cus@passwd.hu>
* libavformat: add librist protocolPaul B Mahol2021-03-131-0/+29
| | | | | | This work is sponsored by Open Broadcast Systems. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/gopher: Add support for Gopher over TLSparazyd2021-03-111-0/+6
| | | | | | | | | | | | | | | | This commit adds a "gophers" handler to the gopher protocol. gophers is a community-adopted protocol that acts the same way like normal gopher with the added TLS encapsulation. The gophers protocol is supported by gopher servers like geomydae(8), and clients like curl(1), clic(1), and hurl(1). This commit also adds compilation guards to both gopher and gophers, since now there are two protocols in the file it makes sense to have this addition. Signed-off-by: parazyd <parazyd@dyne.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: explain tcp listen option descriptionLingjiang Fang2021-01-091-2/+3
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/http: support retry on connection errorerankor2021-01-031-0/+7
| | | | | | | | | | | | | | | | | | Add 2 new options: - reconnect_on_http_error - a list of http status codes that should be retried. the list can contain explicit status codes / the strings 4xx/5xx. - reconnect_on_network_error - reconnects on arbitrary errors during connect, e.g. ECONNRESET/ETIMEDOUT the retry employs the same exponential backoff logic as the existing reconnect/reconnect_at_eof flags. related tickets: https://trac.ffmpeg.org/ticket/6066 https://trac.ffmpeg.org/ticket/7768 Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: document cache optionGyan Doshi2020-12-271-0/+10
| | | | Add entry for read_ahead_limit
* avformat/libamqp: parse vhost in uriAndriy Gelman2020-12-211-3/+4
| | | | | Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
* avformat/rtpproto: support for rtp read timeoutLimin Wang2020-10-221-0/+3
| | | | | | | | | then we can set the rtp read timeout instead of infinite timeout. How to test(5s timeout): ./ffprobe -i rtp://192.168.1.67:1234?timeout=5000000 Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* doc/http: Update HTTP protocol optionsJun Zhao2020-07-191-5/+22
| | | | | | | | remove the timeout option docs part for HTTP protocol and add auth_type option part. Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/icecast: Add option to use TLS connectionMarvin Scholz2020-07-021-0/+3
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/libamqp: add option delivery_modeLevis Florian2020-06-241-0/+15
| | | | | Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Levis Florian <levis.florian@gmail.com>
* doc/protocols: clarify timeout and latency unit of measurement for SRTLimin Wang2020-05-031-6/+6
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/libzmq: Make default pkt_size value consistent with amqpAndriy Gelman2020-03-091-1/+1
| | | | | Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat: Add AMQP version 0-9-1 protocol supportAndriy Gelman2020-03-091-0/+60
| | | | | | | Supports connecting to a RabbitMQ broker via AMQP version 0-9-1. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: clarify SRT timeout options docsMarton Balint2020-02-241-5/+3
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/libsrt: fix name of timeout optionMarton Balint2020-02-241-1/+1
| | | | | | | rw_timeout is the generic URLcontext option, not the protocol specific timeout option, also ?rw_timeout never worked because ?timeout was parsed instead. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/udp: increase the default buffer size of a receiving socket to 384KMarton Balint2020-01-251-1/+1
| | | | | | | | | | | | It is a common mistake that people only increase fifo_size when they experience drops, unfortunately this does not help for higher bitrate (> 100 Mbps) streams when the reader thread simply might not receive the packets in time (especially under high CPU load) if the default 64 KB of kernel buffer size is used. New default is determined so that common linux systems can set this buffer size without tuning kernel parameters. Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/libsrt: enable other encryption parametersJun Zhao2019-12-111-0/+20
| | | | | | | Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ SRTO_KMPREANNOUNCE for srt encryption control. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavf/libsrt: add linger parameter to libsrtJun Zhao2019-12-111-0/+6
| | | | | | | | add linger parameter to libsrt, it's setting the number of seconds that the socket waits for unsent data when closing. Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/ftp: add AVOptions for authenticationNicolas Frattaroli2019-11-031-0/+8
| | | | | | | | | | | | | | | | | This introduces two new AVOption options for the FTP protocol, one named ftp-user to supply the username to be used for auth, one named ftp-password to supply the password to be used for auth. These are useful for when an API user does not wish to deal with URL manipulation and percent encoding. Setting them while also having credentials in the URL will use the credentials from the URL. The rationale for this is that credentials embedded in the URL are probably more specific to what the user is trying to do than anything set by some API user. Signed-off-by: Nicolas Frattaroli <ffmpeg@fratti.ch> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat: Add ZeroMQ as a protocolAndriy Gelman2019-09-021-0/+47
| | | | | | | | | When ffmpeg was streaming, multiple clients were only supported by using a multicast destination address. An alternative was to stream to a server which re-distributes the content. This commit adds ZeroMQ as a protocol, which allows multiple clients to connect to a single ffmpeg instance. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/file: add seekable option to disallow seekingMarton Balint2019-04-111-0/+8
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/doc, http, icecast, rtsp: Add option to disable send-expect-100Jun Li2019-03-311-0/+5
| | | | | | | | | | Fix ticket #7297 The current setting for send-expect-100 option is either enabled if applicable or forced enabled, no option to force disable the header. This change is to expand the option setting to provide more flexibility, which is useful for rstp case. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/protocols: move option follow entry to correct sectionGyan Doshi2019-03-031-11/+6
| | | | | The entry for file protocol option 'follow' was inserted under ftp options during merge of a Libav commit - 90eb24996913238e1a. Corrected.
* avformat/libsrt: add several options supported in srt 1.3.0Matsuzawa Tomohiro2018-10-231-2/+83
| | | | | | | | | | Several SRT options are missing. Since pkg_config requires libsrt v1.3.0 and above, it should be able to support options added in libsrt v1.3.0 and below. This commit adds 8 SRT options. sndbuf, rcvbuf, lossmaxttl, minversion, streamid, smoother, messageapi and transtype The keys of option are equivalent to stransmit. https://github.com/Haivision/srt/blob/v1.3.0/apps/socketoptions.hpp#L196-L223 Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/protocols: simplify and clarify UDP localaddr optionMarton Balint2018-10-031-3/+2
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/udp: add support for generic source filteringMarton Balint2018-10-031-4/+4
| | | | | | | | This allows getting data only from a specific source IP. This is useful not only for unicast but for multicast as well because multicast source subscriptions do not act as source filters for the incoming packets. Signed-off-by: Marton Balint <cus@passwd.hu>
* Merge commit 'a507af97eef468238d545ff954a39d7432832e54'James Almer2018-09-021-4/+27
|\ | | | | | | | | | | | | * commit 'a507af97eef468238d545ff954a39d7432832e54': avformat/libsrt: add latency options and deprecate tspbdelay Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add latency options and deprecate tspbdelaySven Dueking2018-06-041-4/+27
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c'James Almer2018-09-021-6/+15
|\ \ | |/ | | | | | | | | | | * commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c': avformat/libsrt: add payload size option Merged-by: James Almer <jamrial@gmail.com>
| * avformat/libsrt: add payload size optionSven Dueking2018-06-031-0/+11
| | | | | | | | | | Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/libsrt: add pkt_size parameter to libsrtMarton Balint2018-09-011-0/+6
| | | | | | | | | | | | | | | | Also make sure we set the URL context max packet size accordingly. Based on a patch by Tudor Suciu <tudor.suciu@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | doc/protocols: documents tcp_mssJun Zhao2018-07-261-0/+3
| | | | | | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* | Merge commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57'James Almer2018-03-291-0/+140
|\ \ | |/ | | | | | | | | | | * commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57': Add Haivision SRT protocol Merged-by: James Almer <jamrial@gmail.com>
| * Add Haivision SRT protocolSven Dueking2018-03-281-0/+140
| | | | | | | | | | | | | | | | The protocol requires libsrt (https://github.com/Haivision/srt) to be installed Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/http: add referer option into httpSteven Liu2018-02-011-0/+3
| | | | | | | | | | add Referer message if referer have been set. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* | Remove the ffserver programRostislav Pehlivanov2018-01-061-1/+1
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | avformat/http: export http_version from responseAman Gupta2017-12-261-0/+3
| | | | | | | | | | | | Can be used by the api user to figure out what http features the server supports based on the response received. Signed-off-by: Aman Gupta <aman@tmm1.net>
* | libavformat: LibreSSL (libtls) supportsfan52017-12-171-1/+1
| | | | | | | | Signed-off-by: sfan5 <sfan5@live.de>
* | avformat/subfile: allow to extract till EOFGyan Doshi2017-11-191-0/+6
| | | | | | | | | | Users can set end offset as 0 to extract till end of file. Tested locally and documented.
* | avformat/tcp: add option to enable TCP_NODELAYAman Gupta2017-11-171-0/+3
| | | | | | | | | | | | | | | | This can reduce latency and increase throughput, particularly on high latency networks. Signed-off-by: Aman Gupta <aman@tmm1.net> Reviewed-by: Jeyapal, Karthick <kjeyapal@akamai.com>
* | doc/protocols: add option usage descriptionLou Logan2017-02-131-0/+5
| | | | | | | | | | | | Fixes ticket #6148. Signed-off-by: Lou Logan <lou@lrcd.com>
* | avformat: Add Pro-MPEG CoP #3-R2 FEC protocolVlad Tarca2016-11-131-0/+35
| | | | | | | | | | | | | | Pro-MPEG Code of Practice #3 release 2 forward error correction for rtp_mpegts streams Signed-off-by: Vlad Tarca <vtarca@mobibase.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc: fix various typos and grammar errorsMoritz Barsnick2016-10-111-1/+1
| | | | | | | | | | Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/http: deprecate user-agent optionSteven Liu2016-09-171-1/+3
| |