mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
WebSocketServer: Finish GetConnectUrl()
This commit is contained in:
parent
d1d5dd74ea
commit
0370b5882d
@ -187,7 +187,8 @@ std::vector<WebSocketServer::WebSocketSessionState> WebSocketServer::GetWebSocke
|
||||
|
||||
std::string WebSocketServer::GetConnectUrl()
|
||||
{
|
||||
return "";
|
||||
QString ret = QString("ws://%1:%2").arg(QString::fromStdString(Utils::Platform::GetLocalAddress())).arg(_serverPort);
|
||||
return ret.toStdString();
|
||||
}
|
||||
|
||||
void WebSocketServer::BroadcastEvent(uint64_t requiredIntent, std::string eventType, json eventData)
|
||||
|
Loading…
Reference in New Issue
Block a user