Type alias ProducerOptions

ProducerOptions: {
    apiToken: string;
    debug?: boolean;
    domain?: string;
    meta: Metadata;
    roomName: string;
}

The options used to configure a Producer.

Type declaration

  • apiToken: string
  • Optional debug?: boolean
  • Optional domain?: string
  • meta: Metadata
  • roomName: string

Param

The domain of the API server.

Param

The API token for authentication.

Param

The name of the room to stream to.

Param

The metadata for the producer.

Param

Whether to enable debug logging.

Generated using TypeDoc