export function generateSwarmId(options) {
    const { peerProtocolVersion, streamType, videoUUID, resolution } = options;
    if (resolution) {
        const codecName = 'default';
        return `pt-${peerProtocolVersion}-${videoUUID}-${streamType}-${codecName}-${resolution}`;
    }
    const language = 'default';
    const codecName = 'default';
    return `pt-${peerProtocolVersion}-${videoUUID}-${streamType}-${codecName}-${language}`;
}
//# sourceMappingURL=p2p.js.map