<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [SceneOptions](./smwebsdk.sceneoptions.md)

## SceneOptions interface

Configuration to use when constructing a Scene

**Signature:**

```typescript
export interface SceneOptions 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [apiKey?](./smwebsdk.sceneoptions.apikey.md) |  | string | _(Optional)_ The API key used to authenticate with the server |
|  [audioOnly?](./smwebsdk.sceneoptions.audioonly.md) |  | boolean | _(Optional)_ Whether the connection should be established with audio but no video |
|  [contentAwarenessDebounceTime?](./smwebsdk.sceneoptions.contentawarenessdebouncetime.md) |  | number | _(Optional)_ Frequency of sending on-screen content measurements to the server in milliseconds |
|  [loggingConfig?](./smwebsdk.sceneoptions.loggingconfig.md) |  | [LoggingConfig](./smwebsdk.loggingconfig.md) | _(Optional)_ Preferred logging levels for websdk |
|  [requestedMediaDevices?](./smwebsdk.sceneoptions.requestedmediadevices.md) |  | [MediaDeviceOptions](./smwebsdk.mediadeviceoptions.md) | _(Optional)_ Media devices (camera and microphone) to request from the user before connecting |
|  [requiredMediaDevices?](./smwebsdk.sceneoptions.requiredmediadevices.md) |  | [MediaDeviceOptions](./smwebsdk.mediadeviceoptions.md) | _(Optional)_ Media devices (camera and microphone) that the user must approve access to for the connection to succeed |
|  [sendMetadata?](./smwebsdk.sceneoptions.sendmetadata.md) |  | { pageUrl: boolean; } | _(Optional)_ The config to allow sending current page url when connection succeeds |
|  [stopSpeakingWhenNotVisible?](./smwebsdk.sceneoptions.stopspeakingwhennotvisible.md) |  | boolean | _(Optional)_ Default true. True means that the DP's speech should be interrupted when the user changes tabs |
|  [tracerOptions?](./smwebsdk.sceneoptions.traceroptions.md) |  | TracerOptions | _(Optional)_ Configuration of the OpenTelemetry tracer |
|  [videoElement?](./smwebsdk.sceneoptions.videoelement.md) |  | HTMLVideoElement | _(Optional)_ The HTMLVideoElement where the digital person should be displayed |

