doc/protocols: add details and reformat IPFS section

release/5.1
Gyan Doshi 3 years ago
parent 8a0f7f7bfe
commit 0dcbe1c1aa
  1. 33
      doc/protocols.texi

@ -617,15 +617,26 @@ icecast://[@var{username}[:@var{password}]@@]@var{server}:@var{port}/@var{mountp
@section ipfs @section ipfs
InterPlanetary File System (IPFS) protocol support. One can access files stored InterPlanetary File System (IPFS) protocol support. One can access files stored
on the IPFS network through so called gateways. Those are http(s) endpoints. on the IPFS network through so-called gateways. These are http(s) endpoints.
This protocol wraps the IPFS native protocols (ipfs:// and ipns://) to be send This protocol wraps the IPFS native protocols (ipfs:// and ipns://) to be sent
to such a gateway. Users can (and should) host their own node which means this to such a gateway. Users can (and should) host their own node which means this
protocol will use your local gateway to access files on the IPFS network. protocol will use one's local gateway to access files on the IPFS network.
If a user doesn't have a node of their own then the public gateway dweb.link is If a user doesn't have a node of their own then the public gateway @code{https://dweb.link}
used by default. is used by default.
You can use this protocol in 2 ways. Using IPFS: This protocol accepts the following options:
@table @option
@item gateway
Defines the gateway to use. When not set, the protocol will first try
locating the local gateway by looking at @code{$IPFS_GATEWAY}, @code{$IPFS_PATH}
and @code{$HOME/.ipfs/}, in that order. If that fails @code{https://dweb.link} will be used.
@end table
One can use this protocol in 2 ways. Using IPFS:
@example @example
ffplay ipfs://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T ffplay ipfs://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T
@end example @end example
@ -635,16 +646,6 @@ Or the IPNS protocol (IPNS is mutable IPFS):
ffplay ipns://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T ffplay ipns://QmbGtJg23skhvFmu9mJiePVByhfzu5rwo74MEkVDYAmF5T
@end example @end example
You can also change the gateway to be used:
@table @option
@item gateway
Defines the gateway to use. When nothing is provided the protocol will first try
your local gateway. If that fails dweb.link will be used.
@end table
@section mmst @section mmst
MMS (Microsoft Media Server) protocol over TCP. MMS (Microsoft Media Server) protocol over TCP.

Loading…
Cancel
Save