Hi there,
I'm trying to figure what happens during a session negotiation in Saros.
There are some lovely comments in the code that do a great job explaining the interactions that must take place between host and client in order to add the client to a session.
However, one of the steps described there does not appear to take place.
When I look at the traffic between host and client, the 'SNCMP' (Session Negotiation Completed) stanza is never sent.
Somehow the client is added to the session successfully anyways. How is that possible?
I ask because I'm trying to connect to a Saros session with a NodeJS application.
Everything seems to work well, the host recognizes the 'fake' client, but after connecting and sending the 'COES' (Connection Established) stanza back to the host I don't know what to do next.
The host displays the following at this point: "Establishing connection and performing final initialization...".
According to the code I should send a 'SNCMP' stanza next, but when I do, nothing happens.
As mentioned above, when a legitimate Saros client gets added to a session, there is no trace of a 'SNCMP' stanza. But it somehow still works.
What magic takes place that convinces the host to accept the client into the session?
Any and all help would be greatly appreciated!
Noah