mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: server: request client to use Opus Custom codec
This commit is contained in:
parent
0d7a2e7bad
commit
24763f9b07
@ -17,6 +17,8 @@ GNU General Public License for more details.
|
||||
#include "server.h"
|
||||
#include "net_encode.h"
|
||||
#include "library.h"
|
||||
#include "voice.h"
|
||||
|
||||
#if XASH_LOW_MEMORY != 2
|
||||
int SV_UPDATE_BACKUP = SINGLEPLAYER_BACKUP;
|
||||
#endif
|
||||
@ -394,7 +396,7 @@ SV_WriteVoiceCodec
|
||||
void SV_WriteVoiceCodec( sizebuf_t *msg )
|
||||
{
|
||||
MSG_BeginServerCmd( msg, svc_voiceinit );
|
||||
MSG_WriteString( msg, "opus" );
|
||||
MSG_WriteString( msg, VOICE_DEFAULT_CODEC );
|
||||
MSG_WriteByte( msg, (int)sv_voicequality.value );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user