Open the controller · See every scene · The watch page
Live draw set-up guide
How the live draw goes from the streaming PC to the website (and Facebook), with every scene, pop-up, host game and quiz night run from one controller on your phone. Everything runs on Spin 2 Win's own Cloudflare account. Nothing depends on RaffleX except plain pieces on the site (a button and a page), and those keep working however RaffleX changes.
How it fits together
- OBS Studio on the streaming PC sends the stream straight to the website (WHIP), and the Live Draw page plays it, under a second behind. Cloudflare charges by the data sent out, and the first 1,000 GB a month are free.
- Facebook at the same time: a free OBS plugin, Multiple RTMP outputs, sends the same stream to your Facebook page as well (section 2b). Nothing extra to pay.
- The controller on your phone (open the controller) does the rest:
- goes on air: the home page button turns to LIVE NOW and the live chat opens (it counts down to your next draw the rest of the time);
- sets the countdown to the next draw;
- the drum roll / computer sound and the ta-daa when drawing a winner (TrueNorth does the draw itself);
- puts winners, messages, confetti, gold coins and countdowns on stream;
- switches the scene in OBS;
- launches the host games - Spin 2 Win Wheel, Higher or Lower, Spin Race and The Banker's Deal;
- runs a JoltQuiz quiz night on stream and on the website.
OBS on its own sends to one place (the website). Section 2b adds Facebook as a second place, from the same OBS, with the free Multiple RTMP outputs plugin.
1. OBS: install and import the scenes (once)
- Install OBS Studio (version 30 or newer) from obsproject.com.
- Download the scene file: Spin-2-Win-OBS.json.
- In OBS: Scene Collection → Import, pick the file, then Scene Collection → Spin 2 Win live draw. Your existing scenes are not touched.
- Settings → Video: Base (Canvas) and Output resolution 1920×1080, 30 FPS.
- Open the scene Camera (do not delete) and pick your webcam in its Webcam source.
- Open Draw window (do not delete): add a Window Capture (or Display Capture) of TrueNorth or the draw screen, then right-click it → Transform → Fit to screen.
- Open Game window (do not delete): launch a game from the controller first (it opens its own window), then add a Window Capture of that browser window and Fit to screen. Launching another game swaps the same window, so this is done once.
Each webcam can only be opened once, so the camera lives in its own scene and every other scene shows that scene. Never add a second copy of the webcam, or one of them goes black.
| Scene | When |
|---|---|
| 1 Starting Soon | Before you start: the countdown to the next draw (set it in the controller) and your competitions. |
| 2 Live Draw | The draw: the draw window and your camera. |
| 3 Host Games | A host game, launched from the controller. The frame says which game it is. |
| 4 Be Right Back | A short break. |
| 5 Thanks for Watching | The end. It shows the next draw if one is set. |
| 6 Quiz Night | A JoltQuiz quiz: JoltQuiz's big screen, your camera, the QR and the join code. |
2. OBS: where to send the stream (once)
- In the controller, open the Set-up tab → OBS → OBS stream settings. It shows the Server and the Bearer Token (the stream key), each with a Copy button.
- In OBS: Settings → Stream, Service WHIP. Paste the Server and the Bearer Token. Apply.
- Settings → Output (Output Mode: Simple is fine): video bitrate about 4000 Kbps, audio 160.
The stream key is a password: never show it on stream or send it in a message. Anyone with it could send video to your website.
2b. Facebook at the same time (optional, free)
The website gets the stream from OBS's main Start Streaming (section 2). The free plugin Multiple RTMP outputs (obs-multi-rtmp) adds a second output to the same OBS, so your Facebook page gets the same pictures and sound at the same time.
- Install the plugin (once). Close OBS. Download the Windows installer from the plugin's own page, github.com/sorayuki/obs-multi-rtmp/releases (the newest release that says it works with your OBS version), run it, then open OBS again.
- OBS now has a Multiple output panel. If you cannot see it: Docks → Multiple output.
- Get your Facebook stream key (once). On Facebook: Live Producer (Create → Live video) for your page, choose Streaming software, and switch on Use a persistent stream key, so the key stays the same every week. You will see a Server URL and a Stream key.
- Add Facebook to the plugin (once). In the Multiple output panel: Add new target.
- Name: Facebook.
- Server:
rtmps://live-api-s.facebook.com:443/rtmp/ - Key: your persistent stream key from Facebook. Type or paste it on the streaming PC only.
- Video: H.264 (NVENC if the PC has an NVIDIA card, otherwise x264), about 4000 Kbps, keyframe interval 2 seconds, 1920×1080. If the PC struggles, pick the option to use the main output's video encoder instead.
- Audio: its own AAC encoder, 128 Kbps. Facebook needs AAC sound. The website's stream uses a different kind of sound, so do not share the main output's audio here.
- Save. Ticking Sync start (if your version has it) makes it start and stop with OBS's own Start Streaming.
- Every live draw: press Start Streaming in OBS (the website), then Start on the Facebook target in the Multiple output panel (unless it starts by itself). In Facebook Live Producer, wait for the preview, set the title, and press Go live.
- At the end: End live video in Facebook, Stop on the Facebook target, then Stop Streaming in OBS.
The Facebook stream key is a password. It lives only in OBS on your streaming PC: it is never kept by the live draw system, never shown on stream and never sent in a message. If it ever leaks, reset it in Facebook Live Producer and paste the new one into the Facebook target.
Or: Streamlabs Desktop
- Download Spin-2-Win-Stream.overlay, then in Streamlabs: Settings → Scene Collections → Import Overlay File.
- Settings → Video: 1920×1080. The scenes are the same as OBS's. Streamlabs cannot send the lag-free website stream, so on its own it suits streaming to Facebook only (Settings → Stream). OBS (sections 1, 2 and 2b) is the set-up that puts the draw on the website and Facebook together.
- Pick your camera in Camera (do not delete), and add the window captures as in step 1.
- The Chat Box (your Facebook comments) is in every show scene, hidden, exactly over the site's chat panel: switch it on (the eye) if you would rather show Facebook's comments there.
Streamlabs' Edit Transform size boxes go wrong on a scene shown inside another scene - every one is already placed by the file, so never resize them in that dialog. And as in OBS: one webcam, one source.
3. Every live draw
- Earlier in the day, in the controller's Set-up tab: Next live draw. Pick the competition's draw or type a time, then Save. The home page button, the Live Draw page and the Starting Soon scene count down to it.
- In OBS, show 1 Starting Soon and press Start Streaming. The controller says "OBS is sending - lag-free" within a few seconds.
- In the controller, tap Off air - tap to go live. The home page button says LIVE NOW (within about a minute), the Live Draw page plays the stream and the live chat opens - it is only open while you are live.
- Switch to 2 Live Draw and do the draw in TrueNorth. From the controller: Start the draw (drum roll or computer sound until you press STOP, then the ta-daa and confetti), Shout out a winner (first name and initial only), Spotlight a competition, Message, Confetti, Gold coins.
- Host games: Games → Launch in the controller - OBS switches to 3 Host Games by itself. Press H in the game for its host controls.
- At the end: 5 Thanks for Watching, then in the controller tap LIVE - tap to go off air, then Stop Streaming in OBS.
4. A JoltQuiz quiz night
- Open the quiz in JoltQuiz's host panel as usual. It shows the room code (6 letters and numbers).
- In the controller: Quiz tab, type the room code and the prize (if there is one), press Start the quiz on
stream.
- The 6 Quiz Night scene shows JoltQuiz's big screen for that room, your camera, the QR and the code, with "Play along: joltquiz.com" along the bottom the whole time.
- Every other scene gets a Quiz starting pop-up with the QR for 25 seconds (Show the join pop-up again repeats it).
- The Live Draw page on the website shows the code and a Join the quiz button.
- Run the quiz from JoltQuiz's host panel. The QR and the button go to
joltquiz.com/j/<code>. - When it is over: Clear the quiz in the controller.
The big screen is JoltQuiz's own page, https://www.joltquiz.com/watch/<code>?embed=page,
shown inside the Quiz Night scene. If it ever needs to be its own browser source in OBS, the controller's Quiz tab shows
the exact address to paste (1920×1080), on top of the scene's frame.
5. On the website
- Home page: the live draw button - when the next draw is, and LIVE NOW while you are on air. It is a picture, so it needs no script.
- Live Draw page (
/i/live-draw): the stream while you are live, a countdown otherwise, the live chat, and the quiz code with a Join button when a quiz is on. Its own page is here. - Quiz nights on the site: the Live Draw page also carries your JoltQuiz quiz card (venue
spin2wincompetitions): a countdown to the next quiz you book in JoltQuiz, the join code and QR when the doors open, and the live big screen while it plays. Set Your live page in JoltQuiz (Admin → Website & camera) to your Live Draw page.
If something is wrong
- The controller does not say "OBS is sending": check OBS Settings → Stream (Service WHIP, Server and Bearer Token from the controller) and that OBS says it is streaming.
- The home page button does not say LIVE NOW: go on air in the controller; the picture refreshes within a minute.
- Facebook does not show the stream: check the Facebook target in the Multiple output panel says it is streaming, that its key is the persistent key from Live Producer, and that its audio is AAC. Then press Go live in Live Producer.
- OBS crashed: start streaming again. The website notices a lost stream by itself within about a minute.
- The quiz big screen says the link is not valid: check the room code in the controller matches JoltQuiz's host panel.
- A scene looks out of date after an update: controller → Reload every scene.
- The controller says signed out: sign in again. After 8 wrong passwords it waits 15 minutes.