Skip to content

Commit d3875f4

Browse files
authored
Update srtla_send.c
1 parent 1819c50 commit d3875f4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

srtla_send.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,10 +461,12 @@ void handle_srtla_data(conn_t *c) {
461461
return; // don't send to SRT
462462

463463
case SRTLA_TYPE_REG3:
464+
c->cstate = C_REGISTERED; // <<< FIJA EL ESTADO PARA EVITAR RE-REGISTROS
464465
has_connected = 1;
465466
active_connections++;
466467
info("%s (%p): connection established\n", print_addr(&c->src), c);
467468
return;
469+
468470
} // switch
469471

470472
sendto(listenfd, (const char*)buf, n, 0, &srt_addr, addr_len);

0 commit comments

Comments
 (0)