Fixed TTS using StreamElements. Fixed several issues.
This commit is contained in:
@@ -178,7 +178,7 @@ namespace TwitchChatTTS.Veadotube
|
||||
while (current < total)
|
||||
{
|
||||
var size = Encoding.UTF8.GetBytes(content.Substring(current), array);
|
||||
await _socket.SendAsync(array, WebSocketMessageType.Text, current + size >= total, _cts!.Token);
|
||||
await _socket.SendAsync(array, WebSocketMessageType.Text, current + size >= total, CancellationToken.None);
|
||||
current += size;
|
||||
}
|
||||
_logger.Debug($"Veado TX [message type: {typeof(T).Name}]: " + content);
|
||||
|
||||
Reference in New Issue
Block a user