silence NoOBSWS

This commit is contained in:
Lera Elvoé 2023-12-10 17:23:55 +03:00
parent 882c031f86
commit 0bc814a38b
No known key found for this signature in database

View file

@ -96,7 +96,7 @@ func _poll_socket() -> void:
func _handle_packet(packet: PackedByteArray) -> void:
var message = Message.from_json(packet.get_string_from_utf8())
print("got message with code ", message.op_code)
#print("got message with code ", message.op_code)
_handle_message(message)
@ -118,7 +118,7 @@ func _handle_message(message: Message) -> void:
event_received.emit(message)
Enums.WebSocketOpCode.REQUEST_RESPONSE:
print("Req Response")
#print("Req Response")
var id = message.get_data().get("request_id")
if id == null:
error.emit("Received request response, but there was no request id field.")
@ -165,8 +165,8 @@ func _authenticate(message: Message, password: String) -> void:
var m = Message.new()
m.op_code = Enums.WebSocketOpCode.IDENTIFY
m._d["authentication"] = auth_string
print("MY RESPONSE: ")
print(m)
#print("MY RESPONSE: ")
#print(m)
_send_message(m)