File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -523,6 +523,7 @@ public function handleWebSocketConnection(WebSocket $ws): void
523523
524524 $ this ->logger ->debug ('received heartbeat ack ' , ['response_time ' => $ diff ]);
525525 $ this ->emit ('ws-ping ' , [$ diff ]);
526+ $ this ->emit ('ws-heartbeat-ack ' , [$ data ->d ]);
526527 break ;
527528 case Op::VOICE_DESCRIPTION : // ready
528529 $ this ->ready = true ;
@@ -548,9 +549,6 @@ public function handleWebSocketConnection(WebSocket $ws): void
548549 $ this ->emit ("speaking. {$ data ->d ->user_id }" , [$ data ->d ->speaking , $ this ]);
549550 $ this ->speakingStatus [$ data ->d ->ssrc ] = $ data ->d ;
550551 break ;
551- case Op::VOICE_HEARTBEAT_ACK :
552- $ this ->emit ('ws-heartbeat-ack ' , [$ data ]);
553- break ;
554552 case Op::VOICE_HELLO :
555553 $ this ->heartbeat_interval = $ data ->d ->heartbeat_interval ;
556554
You can’t perform that action at this time.
0 commit comments