@fishjam-cloud/js-server-sdk - v0.29.0
    Preparing search index...

    Class CompositionClient

    Client class that allows to manage compositions, the real-time video compositing sessions of a Fishjam App. It requires the management token that can be retrieved from the Fishjam Dashboard, the same one used by FishjamClient.

    Example usage:

    const compositionClient = new CompositionClient({
    managementToken: fastify.config.FISHJAM_MANAGEMENT_TOKEN,
    });
    Index

    Constructors

    Methods

    • Register a font that scenes can render text with. The font is either a Blob or a path to read it from; never pass a path taken from untrusted input, since its contents are uploaded.

      Parameters

      Returns Promise<void>