> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/plugins-and-integrations/unreal-engine/guides/integration-with-pixel-streaming.md).

# Integration with Pixel Streaming

{% hint style="info" %}
To setup the Pixel Streaming server, we recommend taking a look over [this excellent guide](https://github.com/TensorWorks/PixelStreamingCloudGuide/blob/main/Pixel%20Streaming%20UE5.md).
{% endhint %}

1. Ensure you have the latest Convai 3.1.0 plugin or later.
2. Enable Unreal Engine's `Pixel Streaming` and the `Pixel Streaming Player` Plugins from the Plugins window.<br>

   <figure><img src="/files/ZTHEiYaHnCuqO4DMhw9t" alt=""><figcaption></figcaption></figure>
3. In the player blueprint which has the Convai Player component, add the PixelStreamingAudio component to the list of components.<br>

   <figure><img src="/files/XOoBpd77CvAuiA0zgaM1" alt=""><figcaption></figcaption></figure>
4. Click on PixelStreamingAudio component, and in the details panel find Base Submix and choose AudioInput sound submix.<br>

   <figure><img src="/files/ItgQFY5RfVjmOlniNPhY" alt=""><figcaption></figcaption></figure>
5. On Begin Play in the event graph, add the following blueprint function to initialize Pixel Streaming with the Player Component.

<figure><img src="/files/orgzbZ15PN9iljvMSOFj" alt=""><figcaption></figcaption></figure>

<div data-full-width="false"><figure><img src="/files/VQsENLL9TmegeOc53Ept" alt=""><figcaption><p>To Get <em><strong>Set Pixel Streaming Audio Component</strong></em> Node</p></figcaption></figure></div>

{% hint style="info" %}
Now, pixel streaming mic input should be working. However, system microphone will no longer work. To change back and forth to and from system microphone, set Use Pixel Streaming Mic Input to true for enabling pixel streaming microphone and false to enable system microphone. This is found in the ConvaiPlayer component.
{% endhint %}

<figure><img src="/files/xxTMbgbrVmv0vQrk6E1C" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.convai.com/api-docs/plugins-and-integrations/unreal-engine/guides/integration-with-pixel-streaming.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
