@urth/metatell-sdk - v0.1.0
    Preparing search index...

    Type Alias EntitySpec

    EntitySpec:
        | EntitySpecBase & {
            contentType?: string;
            kind: "media";
            src: string
            | File;
        }
        | EntitySpecBase & {
            kind: "model";
            lipSync?: { sessionId: string };
            src: string | File;
        }
        | EntitySpecBase & {
            color?: string;
            kind: "primitive";
            shape: "box"
            | "sphere"
            | "cylinder"
            | "plane";
            size?: Vector3Data;
        }

    Type Declaration

    • EntitySpecBase & { contentType?: string; kind: "media"; src: string | File }
    • EntitySpecBase & {
          kind: "model";
          lipSync?: { sessionId: string };
          src: string | File;
      }
      • kind: "model"
      • OptionallipSync?: { sessionId: string }

        lipSync binds the VRM's mouth (aa expression) to a participant's voice. The binding replicates to all clients via networked media options. sessionId is the participant's Phoenix session_id (LiveKit identity).

      • src: string | File
    • EntitySpecBase & {
          color?: string;
          kind: "primitive";
          shape: "box" | "sphere" | "cylinder" | "plane";
          size?: Vector3Data;
      }