Managing client name and disconnection (e.g. end vimix)

This commit is contained in:
brunoherbelin
2020-10-25 18:56:56 +01:00
parent 8fa14bda1a
commit e60c7a4cad
8 changed files with 97 additions and 99 deletions

View File

@@ -121,6 +121,7 @@ void NetworkStream::open(const std::string &nameconnection)
p << osc::BeginMessage( OSC_PREFIX OSC_STREAM_REQUEST );
// send my listening port to indicate to Connection::manager where to reply
p << listener_port_;
p << Connection::manager().info().name.c_str();
p << osc::EndMessage;
// send OSC message to streamer