I have gobe through the rtmp specifications. I am confused about two messages/events Set Peer Bandwidth, Window Acknowledgement Size and SetBufferLength.
As per specification, The client sends SetBufferLength event to inform the server Length (=3) of the buffer size (in milliseconds) that is used to buffer any data coming over a stream. But this is not given what server will do with this information. Because this message points to client side buffer.
Similarly, purpose of exchanging Set Peer Bandwidth and Window Acknowledgement Size messages/events are not clear.
TCP/IP itself provides ack for each packet then why there is need to exchange these messages/events?