Skip to content

Commit fd80858

Browse files
authored
Note About UDP Not Required
1 parent 3f8ba7c commit fd80858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/responses/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Used as a response for [`defineStreamHandler`](../requests/defineStreamHandler.m
2020

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

23-
- ``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.
23+
- ``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.
2424
> **WARNING**: Use of DHT may be prohibited by some private trackers as it exposes torrent activity to a broader network, potentially finding more peers.
2525
2626
- `behaviorHints` (all are optional)

0 commit comments

Comments
 (0)