UNPKG

rtc-link

Version:

A library for managing WebRTC connections with multiplexed streams, anti-glare handling, and streamlined data channel setup.

4 lines 138 B
export function extractFingerprint(sdp) { const match = sdp.match(/a=fingerprint:[\w-]+ (\S+)/); return match ? match[1] : null; }