> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# VCS: useMediaInput()

> Developers can use Daily's VCS SDK to build custom video layouts and add graphics to live streamed and recorded video calls.

`useMediaInput(): Object`

Returns an object with raw video input data.

<Warning>
  **Note**: We recommend using [`useActiveVideo()`](/docs/vcs/custom-react-hooks/use-active-video) instead for a more
  convenient filtered representation of video data.
</Warning>

## Return type

| Property | Type | Description |
| :- | :- | :- |
| `activeVideoInputSlots` | `Array` | Raw video slot media descriptions. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.