Closed ibc closed 4 months ago
More info:
TcpConnectionHandle::SetPeerAddress()
is guaranteed to not throw but to return false
if something fails internally.TcpConnectionHandle::SetPeerAddress()
is a private method called by TcpConnectionHandle::Start()
public method.TcpConnectionHandle::Start()
will throw if SetPeerAddress()
returns false
.TcpConnectionHandle::Start()
is called by TcpServerHandle::AcceptTcpConnection()
and if it throws then it handles it:
// Start receiving data.
try
{
// NOTE: This may throw.
connection->Start();
}
catch (const MediaSoupError& error)
{
delete connection;
return; }
Ok, the error in the demo was "cannot connect to WS" so this was something else not related to mediasoup.
mediasoup demo (mediasoup 3.14.8) stopped working and those are the only potential related logs. No core dump at all.
No more logs, meaning that the worker did not even crash so
Worker
TS class didn't emit "died".