# RTMP

## Why cannot we stream live video to YouTube via WiFi IP Camera?

First of all, please take it easy and follow below steps to use the WiFi encoder:&#x20;

* Connect it to your local network via ethernet cable;&#x20;
* Connect it to WiFi by clicking the corresponding SSID of WiFi, enter password and save it to connect to WiFi;&#x20;
* Plug out the ethernet cable and make sure that it’s connected to WiFi only;&#x20;
* Power it off and reboot it;

{% hint style="info" %}
:man\_mage: **Tips**: When streaming live video to YouTube or other media servers, it's only supported to do that either wired connection or wireless connection, or else it doesn't work if both connected. Besides, if you would like to switch the method of pushing video from wired to wireless, it's necessary to plug out the Ethernet cable and power off to reboot the encoder first, then it will be changed to wirelessly push stream.
{% endhint %}

## Why cannot we still stream video to YouTube when all settings are correct especially under wireless connection?

Please check if DNS is set correctly.

* In America, it's recommended to use default DNS 8.8.8.8.&#x20;
* In EU, it's recommended to use the DNS obtained from ISP(Internet Service Provider). Besides, the DNS of your local largest ISPs or other DNS like Google in EU.&#x20;
* For other regions, it's recommended to use the DNS obtained from ISP(Internet Service Provider). Besides, the DNS of your local largest ISPs or other DNS like Google at your local place.

If it still doesn't work, it's recommended for you to follow below steps:

* Check whether the camera is on the same network segment and gateway;
* Check whether audio is turned on and set as AAC(Required by YouTube);
* Check whether resolution is available and bitrate is matched to your bandwidth;


---

# Agent Instructions: 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:

```
GET https://docs.jtokenapp.com/live-camera/resources/faq/network/rtmp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
