The idea is to make sure that the Connection message response (or even some response messages sent earlier during the handshake) is sent when server is about to start reading the stream, so that the client won't start sending stream before server is ready.
The new RTMP server, introduced in: https://github.com/membraneframework/membrane_rtmp_plugin/pull/85, sends the response to the
Connect
message as fast as possible, even in case nobody is about to read the stream from a particular client.The idea is to make sure that the
Connection
message response (or even some response messages sent earlier during the handshake) is sent when server is about to start reading the stream, so that the client won't start sending stream before server is ready.