import { Meta } from '@storybook/blocks';
# useSelectVideoQuality
The `useSelectVideoQuality` hook returns a function that you can select the user's video input quality.
### Return Value
```javascript
(VideoQuality) => void;
type VideoQuality = '360p' | '540p' | '720p';
```
## Importing
```javascript
import { useSelectVideoQuality } from 'amazon-chime-sdk-component-library-react';
```
## Usage
The hook depends on the `AudioVideoProvider`. If you are using `MeetingProvider`, it is rendered by default.
```jsx
import React from 'react';
import { MeetingProvider, useSelectVideoQuality } from 'amazon-chime-sdk-component-library-react';
const App = () => (
);
const MyChild = () => {
const selectVideoQuality = useSelectVideoQuality();
return (
)
}
```
### Dependencies
- `AudioVideoProvider`