<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [Scene](./smwebsdk.scene.md) &gt; [sendVideoBounds](./smwebsdk.scene.sendvideobounds.md)

## Scene.sendVideoBounds() method

Sends updated video element size to server this gives the app the chance to choose what size should be rendered on server and the application is responsible to register for a video element size change event and call this method to maintain best possible video quality for the size and/or to set an updated video element size and then call this method.

**Signature:**

```typescript
sendVideoBounds(width: number, height: number): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  width | number | The width in pixels to render the video |
|  height | number | The height in pixels to render the video |

**Returns:**

void

