How to get your YouTube stream key on your phone
Short answer: open studio.youtube.com in your phone's browser, switch to the desktop site, tap Create, then Go live, choose the Stream tab and copy the key under Stream settings. Before that works, your channel must be verified with a phone number and have live streaming enabled, which can take up to 24 hours the first time.
A stream key is a private code that tells YouTube which channel a live video belongs to. Apps like streamLama send your video to YouTube's servers together with that key, and YouTube puts the stream on your channel. Below are the exact steps on an iPhone or Android phone, plus how to keep the key safe and how to set up a vertical stream.
What you need first
- A YouTube channel on the Google account you will stream from.
- A verified channel. YouTube asks for a phone number before it unlocks live streaming.
- No live streaming restrictions in the past 90 days. A Community Guidelines strike or a live streaming restriction blocks access until it expires.
- Age 16 or older. YouTube requires creators to be at least 16 to live stream on their own. Streams that feature 13 to 15 year olds need an adult visibly present, or YouTube may turn off live chat and other features.
- A browser on your phone, such as Safari or Chrome. The YouTube and YouTube Studio apps do not show the stream key, so you will use the website.
YouTube's subscriber minimum for mobile live streaming applies to going live with the camera inside the YouTube app. Streaming from an encoder app with a stream key is covered by the requirements above.
Step 1: Verify your channel with your phone number
- In your phone's browser, go to
youtube.com/verifyand sign in to the account that owns your channel. - Choose your country and whether you want the code by text message or by voice call.
- Enter your phone number, then type the 6-digit code you receive and tap Submit.
You only do this once per channel. If the page says your channel is already verified, skip to step 2.
Step 2: Turn on live streaming
- Go to
youtube.com/featuresand find Live streaming in the list. If it says enabled, go to step 3. - If it is not enabled yet, open YouTube Studio (see step 3) and tap Create, then Go live. The first time, YouTube asks you to request access to live streaming.
- Wait. Enabling live streaming for the first time can take up to 24 hours. After that, you can go live instantly whenever you want.
Plan around the wait. If you want to stream on Saturday, request access by Friday at the latest.
Step 3: Open YouTube Studio in desktop mode
The mobile version of YouTube Studio hides the live streaming controls, so ask your browser for the desktop site:
- Safari on iPhone: open
studio.youtube.com, tap the page menu button on the left of the address bar, then Request Desktop Website. - Chrome on Android: open
studio.youtube.com, tap the three-dot menu and check Desktop site. - Chrome on iPhone: tap the three-dot menu, then Request Desktop Site.
The page will be small. Pinch to zoom in on the top right corner when you need to tap something there. Rotating your phone to landscape also helps.
Step 4: Go to Go live and copy the stream key
- Tap Create (the camera icon with a plus sign) in the top right corner, then tap Go live. The Live Control Room opens.
- If YouTube asks when you want to go live, choose Right now. If it asks how, choose Streaming software.
- Select the Stream tab on the left.
- Under Stream settings, find Stream key. Tap Copy next to the hidden key.
You do not need the Stream URL. streamLama already uses YouTube's primary and backup RTMPS servers. Other apps may ask for it; it is shown right below the key.
Your default stream key is reusable, so you normally copy it once and use it for every stream. You can also create extra keys from the stream key menu, for example one per channel. Leave the bitrate on the default Variable option so YouTube detects your resolution and frame rate automatically.
Auto-start: in the same settings area, YouTube has options to start and stop the broadcast automatically. With auto-start on, the stream goes live as soon as YouTube receives video. With it off, YouTube shows a preview and waits for you to press Go live in the Live Control Room.
Dual stream: YouTube turns on Dual stream by default and makes the vertical copy from your stream itself while the vertical preview is on Auto. If the vertical preview is set to Encoder, YouTube waits for a second stream on a second key, which streamLama does not send, and Studio keeps loading with “Set up your vertical stream to continue”. Before you go live, set it back to Auto or turn Dual stream off under Stream settings; you cannot change it once the stream has started. For a vertical stream from streamLama, turn Dual stream off.
Step 5: Paste the key into your streaming app
In streamLama, open the stream key screen (it appears during setup and lives in Settings), paste the key and tap Test connection. The test briefly connects to YouTube to confirm the key is accepted, then disconnects. The key is saved in your phone's secure storage and never leaves the device except to go to YouTube when you stream.
Now pick your scene, choose horizontal or vertical and tap Go Live. On iPhone, confirm Start Broadcast in the system sheet. On Android, allow screen capture when asked.
Keep your stream key secret
Anyone who has your stream key can broadcast to your channel. Treat it like a password:
- Never open YouTube Studio while you are live. A screen-streaming app sends your whole screen, so the Live Control Room, and your key, would be visible to viewers. Copy the key before you start.
- Do not paste it in chats, comments, Discord servers or screenshots.
- If you think someone has it, open the Stream tab again and reset the key or create a new one, then paste the new key into streamLama. The old key stops working.
If you see a live stream on your channel that you did not start, reset your stream key immediately and change your Google account password.
Tips for vertical live streams
Vertical (9:16) live streams can be shown to viewers in the YouTube Shorts feed on mobile, which is a good way to reach people who do not know your channel yet. You use the same stream key for vertical and horizontal streams; the shape comes from your stream itself. Turn Dual stream off in YouTube Studio first, so YouTube does not wait for a second video.
- Choose vertical before going live. In streamLama, select the vertical orientation so your stream is sent at 9:16, for example 720 × 1280 (or 1080 × 1920 with Pro).
- Design for the phone screen. Landscape games fit well in the middle band of a vertical layout. Use the space above for your channel name or a title and the space below for social handles.
- Keep important things away from the edges. In the Shorts player, YouTube places buttons on the right side and the title and channel name near the bottom. Put your LIVE badge and text in the upper and middle part of the canvas.
- Use a clear, specific title. Name the game and what you are doing so people scrolling the feed understand the stream in a second.
- Keep the stream going. Scheduled streams and Premieres only show up in the feed once they are actually live.
Common problems and fixes
| Problem | What to do |
|---|---|
| No Go live option in YouTube Studio | Verify your phone number at youtube.com/verify, request live access, and wait up to 24 hours. |
| Live streaming is unavailable | Check for a live streaming restriction or Community Guidelines strike in the last 90 days, and confirm you meet the age requirement. |
| Studio shows the mobile layout | Turn on the desktop site option in your browser menu and reload the page. |
| The key is rejected | Copy it again with the Copy button instead of selecting text by hand, so no spaces or missing characters sneak in. |
| YouTube shows a preview but the stream is not live | Auto-start is off. Press Go live in the Live Control Room, or turn auto-start on for next time. |
| Stream ended after a network drop | Keep auto-reconnect on in streamLama. YouTube ends a stream shortly after video stops arriving, so a stable connection matters most. |
Still stuck? See streamLama support or the FAQ. To see what else the app can do with your key, read the feature overview.