P2P Media Loader Documentation
    Preparing search index...

    Function buildStreamSwarmId

    • Builds the default stream swarm ID from its components. The stream swarm ID is the pre-hash string that defines which P2P swarm a stream belongs to; its hash is the infohash announced to trackers (see computeInfoHash).

      Parameters

      • swarmId: string
      • streamType: StreamType
      • identityHash: string

      Returns string