SourceTV

Aus CKRAS Wiki

Was ist SourceTV

Mittels SourceTV lassen sich pro Server maximal 255 Slots für Zuschauer zur Verfügung stellen. Es wird zwischen Masterserver und Relayserver unterschieden.
SourceTV ist für CounterStrike Source , Team Fortress 2, Day of Defeat: Source verfügbar, blabla

Was ist der MasterServer?

Der Masterserver ist der SourceTV-Server, der durch den Gameserver, auf dem gespielt wird, gestartet wird. In der Regel wird der Masterserver mit der IP-Adresse des Gameservers + Port 27020 gestartet.

Beispiel:
Gameserver IP-Adresse: 10.10.10.10:27015, so würde hier die Masterserver Adresse des SourceTV 10.10.10.10.27020 lauten, sofern nicht anders in der Config angegeben. CKRAS definiert in der server.cfg alle wichtigen Werte bereits als Default.

Was ist der RelayServer?

Die Relay-Server verbidenet sich mit dem SourceTV eines Master-Servers (siehe Beispiel mit der IP-Adresse des Gameserver + Port) oder andern Relay-Servern und leiten die Informationen an die Clienten/Zuschauer weiter.

Beispiel:
Dir wird von CKRAS eine Rellay-Server SourceTV Adresse zugewiesen z.B. 20.20.20.20, diesen Server kannst du dann im Webinterface auf den bereits vorher gestarteten Masterserver verbinden. In unserem Beispiel auf die 10.10.10.10.27020

RCON Befehle

tv_enable <0|1>

   Activates SourceTV on local game server, SourceTV bot will appear as spectator client after next changelevel (master only). 

tv_name <name>

   Sets SourceTV name as it appears in server browser and scoreboard (master only). 

tv_title <text>

   Sets a SourceTV broadcast title shown in the spectator GUI 

tv_maxclients <0..255>

   Sets maximum client number for local SourceTV server/proxy (default 128). 

tv_stop

   Stops broadcasting the game via SourceTV. 

tv_status

   Shows SourceTV specific information. 

tv_clients

   Shows a list of all spectator clients connect to local SourceTV server 

tv_msg <text>

   Send a HUD message to all connected SourceTV spectator clients 

tv_retry

   Reconnects the SourceTV relay proxy to last known address (relay only). 

tv_autoretry <0|1>

   If enabled, SourceTV relay proxies try to reconnect to last known server after connection was lost. 

tv_timeout <seconds>

   Sets SourceTV relay proxy connection timeout in seconds. If a connection times out, the relay proxy tries to reconnect automatically. 

tv_delay <seconds>

   Source TV broadcast delay in seconds (master only). 

tv_delaymapchange <0|1>

Delays the map change on game server until rest of buffered game has been broadcasted

tv_port <port>

   Set the SourceTV host port (default 27020). Must be set as srcds start parameter. 

tv_maxrate <bytes>

   Sets the maximum bandwidth spend per client in bytes/second (default 5000) 

tv_snapshotrate <n>

   Sets world snapshots broadcasted per second by SourceTV (master only). 

tv_password <password>

   Sets required password for connecting spectators. 

tv_relaypassword <password>

   Sets required password for connecting relay proxies. The connecting proxies simply use "password <password>" to connect to their counterpart's tv_relaypassword. 

tv_relay <IP>

   Connects a relay server to another SourceTV server/proxy 

tv_record <filename>

   Starts a SourceTV demo recording that records all entities & events (master only) 

tv_stoprecord

   Stops SourceTV demo recording (master only) 

tv_autorecord <0|1>

   Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem 

tv_debug <0|1>

   Shows additional debugging messages 

tv_dispatchmode <0|1|2>

   Sets Source client dispatch mode for connecting clients: 0=never, 1=if appropriate, 2=always 

tv_overrideroot <0|1>

   Overrides the master IP broadcast to spectators with a local IP. 

tv_relayvoice <0|1>

   If enabled, allow player voice chat if broadcasted (master only) 

tv_transmitall <0|1>

   By default entities and events outside of the auto-director view are removed from SourceTV broadcasts to save bandwidth. If tv_transmitall is enabled, the whole game is transmitted and spectators can switch their view to any player they want. This option increases bandwidth requirement per spectator client by factor 2 to 3. 

tv_chattimelimit <seconds>

   Limits spectators to chat only every n seconds 

tv_chatgroupsize <n>

   Set chat group size to n spectators. Only spectators in the same chat group can speak to each other. Chat groups are turned off with "tv_chatgroupsize 0" and everybody can speak to everybody. Setting chat groups helps reducing chatter noise and saves some bandwidth. 

tv_chatgroup <name>

   Allows spectators to choose their chat group. If no name if given the current chat group is shown (client only) 

tv_nochat <0|1>

   Disables other spectators chat lines (client only) 

tv_allow_static_shots <0|1>

   Allows auto-director to choose fixed camera shots (master only) 

tv_allow_camera_man <0|1>

   Allows spectator clients on game server to become SourceTV camera men (master only) 

Demo Aufnahme

Webinterface

SourceTV bestellen

TV Server mieten