Skip to content

CS2: CSTV

Discover how to stream live game matches with delay and automatic recording for viewers, and relive matches anytime

1 December 20262 min read125 Views0 helpful

Don't have your own server yet? Host your Counter-Strike 2 server with ZAP-Hosting from €4.99 / month.Or try 3 days from €0.90

Introduction

CSTV lets you broadcast games live with a short delay. This means that people who aren't playing can also follow what's happening on the server. This technology is also used at well-known Counter-Strike tournaments so viewers can watch the action. Broadcasts can also be saved automatically, so you can watch them again later.

Activation

You can enable CSTV in ZapX using the startup parameters:

  1. Open the Configuration tab for your game server and select Startup parameters.
  2. Turn on Enable CSTV. If you want your server to automatically record every match, also turn on Record CSTV demos.
  3. Save your settings and restart your server.
Important

tv_enable and tv_autorecord in your server.cfg have no effect. Your server sets these values from the startup parameters each time a map starts, including the CSTV port (tv_port).

Configuration

Add other CSTV commands to the server.cfg file in the csgo/cfg folder using the Files tab, for example:

Code
tv_delay 90
tv_advertise_watchable 1

If your mode's game mode file sets a command itself, its value takes precedence over the one in server.cfg. For example, gamemode_competitive.cfg sets tv_delay. Add such commands to gamemode_<modus>_server.cfg. Learn more in Configuration.

These commands are available:

CommandDescription
tv_allow_camera_man "0|1"Allows spectators to take over as camera operators
tv_allow_static_shots "0|1"Uses fixed cameras for recordings
tv_autoretry "0|1"Attempts to reconnect after a network timeout
tv_chattimelimit "Seconds"Limits spectators to sending a message only every x seconds
tv_debug "0|1"Displays CSTV debug information
tv_delaymapchange "0|1"Delays the map change until the broadcast is complete
tv_maxclients "n"Maximum number of clients on the CSTV server
tv_maxrate "n"Maximum bandwidth allowed for CSTV spectators, 0 = unlimited
tv_msg "Text"Sends a message to all spectators
tv_name "Name"CSTV hostname. Sets the CSTV name shown in the server browser and status bar
tv_nochat "0|1"Enables/disables CSTV chat
tv_password "Password"Protects the CSTV broadcast with a password
tv_record "Filename"Starts recording a CSTV demo
tv_stopStops the CSTV broadcast
tv_stoprecordStops recording a CSTV demo
tv_titleSets the name of the CSTV broadcast

Connecting

ZapX assigns the CSTV port for your server. You can find it in the Overview section of your game server, under Server details and More ports. To connect, open the in-game console and enter this command:

Code
connect SERVERIP:CSTVPORT

Replace SERVERIP with your server's IP address and CSTVPORT with the CSTV port.

Downloading demos

Your server moves completed demos to the csgo/demos folder, whether they were recorded automatically or with tv_record. You can find and download them in the Files tab. A demo that is still being recorded will appear there shortly after the recording ends. Alternatively, you can download demos via FTP. See Access via FTP for instructions.

To watch a demo, place it in the game/csgo folder in your CS2 game directory and start it from the console with playdemo <dateiname>.

Free tools

CS2 Tools

View all

FAQ

Frequently asked questions

CSTV broadcasts games live with a short delay, allowing people who aren't playing to follow the action on the server. It's the same technology used at well-known CS tournaments. Broadcasts can also be saved automatically as demos.
In the Configuration tab, open Startup parameters and turn on Enable CSTV. Save your settings and restart the server. Setting tv_enable in server.cfg has no effect.
Open the in-game console and enter connect SERVERIP:CSTVPORT. You can find the CSTV port in your game server's Overview, under Server details > Additional Ports.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.