mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-09-18 15:32:35 +00:00
Added debug message.
This commit is contained in:
parent
561d5ec7ab
commit
891d3cf966
1 changed files with 2 additions and 0 deletions
|
@ -300,6 +300,8 @@ class SyncSocketSession {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun handlePacket(opcode: UByte, subOpcode: UByte, data: ByteBuffer) {
|
private fun handlePacket(opcode: UByte, subOpcode: UByte, data: ByteBuffer) {
|
||||||
|
Logger.i(TAG, "Handle packet (opcode = ${opcode}, subOpcode = ${subOpcode})")
|
||||||
|
|
||||||
when (opcode) {
|
when (opcode) {
|
||||||
Opcode.PING.value -> {
|
Opcode.PING.value -> {
|
||||||
send(Opcode.PONG.value)
|
send(Opcode.PONG.value)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue