From a1791335b22ff04c930b026c8e8485e0d7b42cc9 Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Fri, 19 Aug 2022 18:49:27 -0700 Subject: [PATCH] Update protocol.txt --- sp-relay/protocol.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sp-relay/protocol.txt b/sp-relay/protocol.txt index e6c7398..a07e803 100644 --- a/sp-relay/protocol.txt +++ b/sp-relay/protocol.txt @@ -16,9 +16,9 @@ [Relay -> Client] PKT 0x00: Reply protocol id, assign client id [Relay -> Client] PKT 0x01: Send ICE server list to client [Relay -> Server] PKT 0x02: Notify server of the client, send client's id to server - [Client -> Relay -> Server] PKT 0x03: Send client ICE Candidate to server - [Server -> Relay -> Client] PKT 0x03: Send server ICE Candidate to client [Client -> Relay -> Server] PKT 0x04: Send client description to server [Server -> Relay -> Client] PKT 0x04: Send server description to client + [Client -> Relay -> Server] PKT 0x03: Send client ICE Candidate to server + [Server -> Relay -> Client] PKT 0x03: Send server ICE Candidate to client [Client -> Relay -> Server] PKT 0x05 or 0x06: Client signals sucess or failure [Relay -> Client] PKT 0xFE: Signal to close WebSocket