Computes the default stream swarm ID for a stream from its raw properties.
This is the derivation a client with no streamSwarmIdBuilder configured uses.
Run it on a server (Node.js 16+) to predict a stream's swarm ID — and, via
computeInfoHash, the exact infohash the client announces to trackers.
Computes the default stream swarm ID for a stream from its raw properties.
This is the derivation a client with no
streamSwarmIdBuilderconfigured uses. Run it on a server (Node.js 16+) to predict a stream's swarm ID — and, via computeInfoHash, the exact infohash the client announces to trackers.