AI VTuber Broadcast
This guide shows how to run an AI VTuber-style YouTube live stream from the ProjectP client.
The basic flow is:
- Prepare YouTube OAuth.
- Add the Broadcast Console HUD item to your character and prepare a target NPC.
- Log in to YouTube from the console.
- Use
Go Liveand copy the RTMP values to OBS. - Start streaming from OBS.
- Let the console relay live chat to the NPC.
Prerequisites
Before using the Broadcast Console HUD item, prepare:
- a YouTube channel that is allowed to go live
YouTube Data API v3enabled in Google Cloud Console- an OAuth 2.0 desktop client
- the OAuth
Client ID - the OAuth
Client Secret - OBS
- a loaded ProjectP world with at least one NPC
Notes:
- Some desktop OAuth flows can work without a secret, but the current ProjectP sample expects both values.
- If the OAuth consent screen is still in testing mode, add the intended Google account as a test user.
1. Prepare The HUD Item
- Load a world with at least one NPC.
- Add the Broadcast Console HUD item to your character.
- Open the console UI.
- Enter
Google Client ID. - Enter
Google Client Secret. - Choose
Broadcast, or leave it asAuto (Recommended). - Choose
Target NPC.
Target selection behavior:
Autouses the first NPC found in the loaded world.- An explicit NPC name uses the selected NPC.
2. Log In To YouTube
- Click
Login YouTube. - Sign in with the Google account that owns the YouTube channel.
- Approve access.
- Return to ProjectP and check that the console is connected.
The console stores token state locally, so repeated login is usually unnecessary while the refresh token remains valid.
3. Go Live
- Click
Go Live. - Wait while the console creates or reuses the YouTube live stream.
- Wait while the console creates or refreshes the broadcast session.
- Check that the console displays:
WatchRTMPKey
Keep the console open while setting up OBS.
If the button changes to Enter Live Mode, click it to open the live view.
4. Configure OBS
- Create a new OBS scene.
- Add the ProjectP client as a source.
- Open
Settings -> Stream. - Choose
Custom. - Paste
RTMPfrom the console. - Paste
Keyfrom the console. - Start streaming in OBS.
- Wait for the console to detect that the stream is live.
Recommended capture order:
Game CaptureWindow CaptureDisplay Capture
5. Test Live Chat
After OBS starts streaming and the console reports that the stream is live, send a test message in YouTube live chat.
The selected NPC should receive the message and reply through its AI chat and speech setup.
Troubleshooting
- If login fails, check the OAuth
Client ID,Client Secret, consent-screen test users, and YouTube live access for the channel. - If the NPC list is empty, make sure an NPC is loaded in the current world.
- If chat appears on YouTube but the NPC does not answer, check
Target NPC, the NPC's AI chat setup, and the console state afterGo Live. - If OBS is streaming but YouTube does not become live, recheck
RTMPandKeyin OBS.