@zoom/rtms
    Preparing search index...

    Function generateSignature

    • Generates an HMAC-SHA256 signature for RTMS authentication

      This function creates a signature required for authenticating with Zoom RTMS servers. It uses HMAC-SHA256 with the client secret as the key and a concatenated string of client ID, meeting UUID, and stream ID as the message.

      Parameters

      Returns string

      Hex-encoded HMAC-SHA256 signature

      ReferenceError if client ID or secret is empty

      const signature = rtms.generateSignature({
      client: "your_client_id",
      secret: "your_client_secret",
      uuid: "meeting_uuid",
      streamId: "rtms_stream_id"
      });