diff options
author | Andriy Gelman <andriy.gelman@gmail.com> | 2020-12-19 22:32:04 -0500 |
---|---|---|
committer | Andriy Gelman <andriy.gelman@gmail.com> | 2020-12-21 01:27:33 -0500 |
commit | cd97e1ff4d70a49efc38ce3bc3d759d300b37b51 (patch) | |
tree | b7b1df0a9a5d3eda7804e0b2611601b1830c72a5 /doc/protocols.texi | |
parent | 6e96e3d970c5500bfc48d2428119fe995eb230c1 (diff) | |
download | ffmpeg-cd97e1ff4d70a49efc38ce3bc3d759d300b37b51.tar.gz |
avformat/libamqp: parse vhost in uri
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r-- | doc/protocols.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index b4efa14509..de377a9546 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -63,16 +63,17 @@ After starting the broker, an FFmpeg client may stream data to the broker using the command: @example -ffmpeg -re -i input -f mpegts amqp://[[user]:[password]@@]hostname[:port] +ffmpeg -re -i input -f mpegts amqp://[[user]:[password]@@]hostname[:port][/vhost] @end example Where hostname and port (default is 5672) is the address of the broker. The client may also set a user/password for authentication. The default for both -fields is "guest". +fields is "guest". Name of virtual host on broker can be set with vhost. The +default value is "/". Muliple subscribers may stream from the broker using the command: @example -ffplay amqp://[[user]:[password]@@]hostname[:port] +ffplay amqp://[[user]:[password]@@]hostname[:port][/vhost] @end example In RabbitMQ all data published to the broker flows through a specific exchange, |