RTCForge API Reference v1.1.1
    Preparing search index...

    Function parseDataChannelLabel

    • Parse a data-channel label produced by dataChannelLabel.

      Parameters

      • label: string

        The channel label to parse.

      Returns { index: number; transferId: string } | null

      The extracted transferId and channel index, or null if the label is not a file-transfer data-channel label.