1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-08-21 14:52:50 +00:00

Receivers: Fixed connection monitor heartbeat

This commit is contained in:
Michael Hollister 2025-05-01 14:22:43 -05:00
parent e8be1a5735
commit 2776bc398e
2 changed files with 6 additions and 4 deletions

View file

@ -35,7 +35,7 @@ export class FCastSession {
send(opcode: number, message = null) {
const json = message ? JSON.stringify(message) : null;
logger.info(`send (opcode: ${opcode}, body: ${json})`);
logger.info(`send: (session: ${this.sessionId}, opcode: ${opcode}, body: ${json})`);
let data: Uint8Array;
if (json) {
@ -164,7 +164,7 @@ export class FCastSession {
}
private handlePacket(opcode: number, body: string | undefined) {
logger.info(`handlePacket (opcode: ${opcode}, body: ${body})`);
logger.info(`handlePacket: (session: ${this.sessionId}, opcode: ${opcode}, body: ${body})`);
try {
switch (opcode) {