Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

OBS WebSocket can remotely restart or navigate a supported OBS media input while your YouTube live broadcast remains a separate operation. In OBS Studio 28.0.0 and later, connect with a WebSocket client, target the right input, and send its RESTART, NEXT, or PREVIOUS action. That restarts or changes media playback in OBS; it does not, by itself, restart or end the YouTube broadcast.

What OBS WebSocket can—and cannot—restart

OBS WebSocket controls OBS sources and scenes remotely. For supported media inputs, its API offers play, pause, stop, restart, next, and previous actions. You can also request media status, including states such as playing, buffering, ended, or error. These controls affect the selected OBS input, not YouTube’s broadcast lifecycle. OBS WebSocket protocol documentation

OBS Studio 28.0.0 and later include obs-websocket by default. The protocol documents these media requests from protocol version 5.0.0. OBS’s Remote Control Guide describes WebSocket as a way to automate or control scenes and sources with external tools. OBS Remote Control Guide

Set up a secure WebSocket connection

  1. Check your OBS version. Use OBS Studio 28.0.0 or later for the built-in WebSocket server. The obs-websocket project points users of older OBS versions to legacy releases. obs-websocket project
  2. Enable the server and authentication. In OBS, open Tools > WebSocket Server Settings, enable the WebSocket server, and enable authentication. Set a strong password and store it securely. Do not expose an unauthenticated endpoint to the internet. OBS Remote Control Guide
  3. Note the connection details. The documented default port is 4455; it can be changed in the WebSocket settings. Keep OBS and the client on a trusted local network unless you have deliberately configured a secure remote-access path. obs-websocket project
  4. Choose a compatible client. Use a client that supports the 5.x protocol and can send media-input actions. OBS lists tools including Streamer.bot, Touch Portal, Aitum, and Bitfocus Companion Module, but does not publish a comparative compatibility matrix for every operating system or remote setup. OBS Remote Control Guide

Restart or navigate the playlist input

  1. Identify the OBS media input. Confirm the exact source name in OBS and that it is the media input containing the files or playlist you want to control. WebSocket actions apply to the selected input; they do not locate an arbitrary playlist elsewhere.
  2. Connect and authenticate. Connect the client to the OBS WebSocket server using its configured address and port, then authenticate with the password you set.
  3. Send the appropriate media action. Use TriggerMediaInputAction for that input and choose the intended action: RESTART to begin its media again, NEXT to advance, or PREVIOUS to go back. The protocol also supports PLAY, PAUSE, and STOP. OBS WebSocket protocol documentation
  4. Verify playback if needed. Request GetMediaInputStatus for the same input. Its state can be none, playing, opening, buffering, paused, stopped, ended, or error, with timing fields also available. A status response confirms the input’s media state, not the status of the YouTube broadcast. OBS WebSocket protocol documentation

The exact client interface varies. Use its documentation to map the OBS request name and action values; do not assume a button labelled “restart stream” means the same thing as restarting a media input.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Elgato Stream Deck MK.2 Studio Controller, 15 Macro Keys
  • 15 Customizable LCD Keys: instantly control your apps, tools and platforms.
  • One-Touch Operation: trigger single or multiple actions, launch social posts, adjust audio, mute mic, turn on lights, and much more.
  • Visual Feedback: know that your command has been executed.
  • Powerful Plugins: Elgato 4KCU, OBS, Twitch, YouTube, Twitter, Discord, Spotify, Philips Hue, and many more.
  • Hotkey Actions: streamline your film editing, music production, photography workflow, etc.

Configure looping separately from remote restart

Playlist looping and a WebSocket restart are distinct controls. OBS’s media-source guide describes Loop Playlist as restarting the source after its media files run out. WebSocket’s restart action is an explicit command that can be sent when you choose. OBS Media Sources guide

The OBS documentation describes VLC as a source option when VLC is installed. It does not establish that every external YouTube playlist URL works as an OBS VLC playlist. Confirm that your particular source is supported and behaves as intended before relying on it for unattended playback. OBS Media Sources guide

Rank #2
8Bitdo Ultimate 2 Wireless Controller for PC, Apple, Steam & Android, Black
  • TMR Joysticks - Offering higher sensitivity, greater precision, and enhanced durability.
  • 8BitDo Exclusive Wireless Technology - “8Speed”, it delivers an exceptionally stable 2.4G connection with ultra-low latency under 1ms. Engineered for rock-solid reliability, it features strong anti-interference and a 10m range with virtually no lag.
  • Trigger Mode Switch - Easily switch between linear Hall Effect triggers and non-linear tactile triggers for optimal control across different gaming scenarios.
  • 1000Hz Polling Rate (for 2.4G and wired connection). Customizable 6-Axis Motion Control. Turbo function. Rumble vibration. Support 8BitDo Ultimate Software V2.
  • 2 Pro back paddle buttons, extra R4/L4 bumpers, and tactile bumpers & D-pad for enhanced control and faster response. Includes a multifunctional charging dock and USB-C adapter for seamless connectivity.

Keep YouTube broadcast controls separate

YouTube’s Live Streaming API treats broadcast state changes as separate authorized operations. A transition to testing or live requires the stream bound to the broadcast to have an active status. Completing a broadcast is another transition; YouTube also documents optional auto-start and auto-stop behavior. Restarting an OBS media input does not demonstrate that the YouTube broadcast changed state. YouTube liveBroadcasts.transition API · YouTube broadcast lifecycle

Task What it controls Control Important distinction
Restart or navigate playback An OBS media input WebSocket media action: restart, next, or previous Requires the intended media or playlist to be configured in that input.
Change YouTube event state A YouTube live broadcast Authorized liveBroadcasts.transition operation The bound stream must be active for a transition to testing or live; this is not an OBS media restart.

Troubleshoot common failures

  • The client cannot connect: Check that the WebSocket server is enabled, that the client uses the configured address and port (the default is 4455), and that network rules allow the connection. Authenticate with the configured password.
  • Authentication fails: Re-enter the password saved in OBS’s WebSocket settings. Keep authentication enabled rather than removing protection to make a remote connection work.
  • The action reaches the wrong media: Check the input name selected in the request. The action applies to that OBS media input, not to YouTube’s player or a broadcast as a whole.
  • Restart or next has no expected effect: Verify that the selected input is a supported media input and that the playlist is configured in it. The documented controls do not guarantee compatibility with arbitrary YouTube playlist URLs.
  • Status shows buffering, ended, or error: Read the returned state and timing fields to distinguish an input that is still opening or buffering from one that has ended or failed. The status describes OBS media playback, not YouTube broadcast state.
  • YouTube does not go live or change state: Handle the broadcast separately through YouTube’s authorized controls, and confirm the bound stream is active before requesting a testing or live transition.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If your goal is continuous YouTube playback rather than remote control of an OBS input, StreamNeo runs uploaded videos or playlists from the cloud. Upload your recording or build a playlist, add your YouTube stream key, and go live. Nothing has to stay on at home; it streams the uploaded quality up to 4K 60fps at one price per slot, and automatically recovers if YouTube drops the stream. The first day is free with no card. Monthly: $9.99 per month. Start your free StreamNeo day.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
Elgato Stream Deck MK.2 Studio Controller, 15 Macro Keys
Elgato Stream Deck MK.2 Studio Controller, 15 Macro Keys
15 Customizable LCD Keys: instantly control your apps, tools and platforms.; Visual Feedback: know that your command has been executed.
$119.99
Bestseller No. 2
8Bitdo Ultimate 2 Wireless Controller for PC, Apple, Steam & Android, Black
8Bitdo Ultimate 2 Wireless Controller for PC, Apple, Steam & Android, Black
TMR Joysticks - Offering higher sensitivity, greater precision, and enhanced durability.
$59.99
SaleBestseller No. 4
Elgato Stream Deck +, Audio Mixer and Studio Controller
Elgato Stream Deck +, Audio Mixer and Studio Controller
Fully Customizable: Use as an audio mixer, studio controller, production console, etc.
$159.99
Bestseller No. 5
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Purple)
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Purple)
Compatible with Windows and Android.; 1000Hz Polling Rate (for 2.4G and wired connection); Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
$29.99
Best Value
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Purple)
  • Compatible with Windows and Android.
  • 1000Hz Polling Rate (for 2.4G and wired connection)
  • Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
  • Extra R4/L4 bumpers. Custom button mapping without using software. Turbo function.
  • Refined bumpers and D-pad. Light but tactile.
Rank #4
Sale
Elgato Stream Deck +, Audio Mixer and Studio Controller
  • Tactile Control, Visual Feedback: LCD keys, touch strip, and dials for audio, video, lighting, and more. Know that your command has been executed.
  • Fully Customizable: Use as an audio mixer, studio controller, production console, etc.
  • Multi Actions, Smart Profiles: trigger multiple actions at once or sequentially, automatically switch between interface configurations for different apps.
  • Powerful Plugins: Elgato Wave Link, Camera Hub, Control Center, OBS, Twitch, YouTube, Twitter, Discord, Spotify, Philips Hue, and many more
  • Stream Deck App and Store: drag and drop setup, download plugins, icons, thousands of royalty-free tracks, SFX, and more. Regular updates and new plugins frequently added.
Rank #3
Sale
VSD M18 Macro Pad Programmable Keypad, Stream Controller Streaming Deck, Customizable LCD keys, Gaming shortcut keyboard, USB sound board, Trigger actions in OBS, Twitch, YouTube, Works with PC Mac
  • 18 Programmable Keys Macro Keypad: This stream controller deck comes with 18 customizable macro keys (15 LCD visual keys + 3 physical buttons). Users may program single actions or multi-step sequences for daily operation. The keys support in-game combos, app launch and media playback control for multiple usage scenarios. Each LCD key accepts JPG, PNG and GIF images and animations to mark separate functions
  • Single Tap Control: This USB macro keyboard pad supports single tap commands for quick operation. Users can trigger pre-set macros, input text, open files and web pages, adjust media playback, or switch OBS scenes with one tap. The straightforward layout fits gaming, live streaming and professional office task setup
  • One Tap Multi-Shortcut: This macro controller pad streaming deck supports multi-shortcut macro programming for gamers and content creators. Custom shortcuts simplify game combo inputs, video editing, music production and photography workflows. The Operation Follow function runs multiple macro steps in custom order or simultaneous execution for adjustable task control
  • Adjustable RGB Surround Light Ring - VSD M18 gaming streaming deck features an outer RGB light ring with auto color cycle mode. Custom RGB tones are available via device firmware upgrade. The light ring offers adjustable visual lighting for dim gaming, streaming and night work setups.
  • Wide System Compatibility: This VSDinside macro control board works with Windows 11 and newer, macOS 11.0 and newer systems. Connect via USB-C cable for immediate use. It is compatible with mainstream software including OBS, Streamlabs, YouTube, Twitter, Discord, Excel, Word and Photoshop for daily production work. Native Linux system plug-and-play support is not available, while SDK development documents are provided for custom secondary development

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.