refactored UDP audio sender/receiver scripts to support port reuse for shared access, enhanced logging for recording state and audio clip monitoring

This commit is contained in:
tom.hempel
2025-10-23 03:23:33 +02:00
parent 73b921fc9b
commit fd7e08679f
6 changed files with 47 additions and 16 deletions

View File

@ -487,7 +487,7 @@ namespace Convai.Scripts.Runtime.Multiplayer
_localSamples.Clear();
}
ConvaiLogger.Info("Started recording for UDP transmission (Simple)", ConvaiLogger.LogCategory.Character);
ConvaiLogger.Info($"🎤 Started recording for UDP transmission to {targetIP}:{targetPort}", ConvaiLogger.LogCategory.Character);
OnRecordingStateChanged?.Invoke(true);
// Send START control and wait briefly for ACK to ensure receiver is ready