Skip to content

Commit

Permalink
Note About UDP Not Required
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba authored Apr 20, 2024
1 parent 3f8ba7c commit fd80858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/responses/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Used as a response for [`defineStreamHandler`](../requests/defineStreamHandler.m

- ``subtitles`` - _optional_ - array of [``Subtitle objects``](./subtitles.md) representing subtitles for this stream

- ``sources`` - _optional_ - array of strings, represents a list of torrent tracker URLs and DHT network nodes. This attribute can be used to provide additional peer discovery options when `infoHash` is also specified, but it is not required. If used, each element can be a tracker URL (`tracker:<protocol>://<host>:<port>`) where `<protocol>` can be either `http` or `udp`. UDP trackers typically offer faster response times compared to HTTP trackers. A DHT node (`dht:<node_id/info_hash>`) can also be included.
- ``sources`` - _optional_ - array of strings, represents a list of torrent tracker URLs and DHT network nodes. This attribute can be used to provide additional peer discovery options when `infoHash` is also specified, but it is not required. If used, each element can be a tracker URL (`tracker:<protocol>://<host>:<port>`) where `<protocol>` can be either `http` or `udp`. A DHT node (`dht:<node_id/info_hash>`) can also be included.
> **WARNING**: Use of DHT may be prohibited by some private trackers as it exposes torrent activity to a broader network, potentially finding more peers.
- `behaviorHints` (all are optional)
Expand Down

0 comments on commit fd80858

Please sign in to comment.