Setting up GOTV is way more convenient than
installing an HLTV server, because GOTV is already built in to a normal CS:GO server. For example, I wanted my match server to have GOTV connected. I edited the server's command line to include the following two commands:
Code:
+tv_enable 1 +tv_port 27023
I chose to enable the GOTV on port 27023 because the scrim server is running on port 27022 and because I also don't have any other servers running on that port.
These are a bunch of other commands you can set. You can set them in your server.cfg file. The default value is listed as well.
Code:
tv_allow_camera_man 1 // Auto director allows spectators to become camera man
tv_allow_static_shots 1 // Auto director uses fixed level cameras for shots
tv_autorecord 0 // Automatically records all games as GOTV demos.
tv_autoretry 1 //Relay proxies retry connection after network timeout
tv_chatgroupsize 0 // Set the default chat group size
tv_chattimelimit 8 // Limits spectators to chat only every n seconds
tv_debug 0 // GOTV debug info.
tv_delay 30 // GOTV broadcast delay in seconds
tv_delaymapchange 0 // Delays map change until broadcast is complete
tv_deltacache 2 // Enable delta entity bit stream cache
tv_dispatchmode 1 // Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always
tv_enable 0 // Activates GOTV on server.
tv_maxclients 128 // Maximum client number on GOTV server.
tv_maxrate 20000 // Max GOTV spectator bandwidth rate allowed, 0 == unlimited
tv_name 0//GOTV host name
tv_overridemaster 0 // Overrides the GOTV master root address.
tv_port 27020 // Host SourceTV port
tv_relaypassword 0 // GOTV password for relay proxies
tv_relayvoice 1 // Relay voice data
tv_snapshotrate 16 // Snapshots broadcasted per second
tv_timeout 30 // GOTV connection timeout in seconds.
tv_title 0 // Set title for GOTV spectator UI
tv_transmitall 1 // Transmit all entities (not only director view)
There are also some console commands you can use
Code:
tv_clients // shows lists of all clients
tv_record // starts a recording
tv_relay // Connect to GOTV server and relay broadcast.
tv_retry // Reconnects the GOTV relay proxy.
tv_status // Show GOTV server status.
tv_stop // stops the broadcast
tv_stoprecord // stops the recording