We develop real time chatting program with Wowza
We always establish an audio net connection. On this net connection we publish stream and receive streams.
So many streams will share one net connection.
Recently we have found some users have a really big delay. We found suddenly the buffer length will increase to 10-30 seconds. We have done all settings to eliminate delay. It's really impossible to have so big delays.
Why we have a so big delay? Does the Wowza server buffer the audio? We have set max buffer as 3 seconds on the server.
Then we have to automatically clear the buffer length. When we find buffer length of one stream is more than 3 seconds，we close the stream to clear the buffer and reconnect
We find if one member has big delay, we will clear bufferlegnth of one stream. But we find all students' audio will be delayed or broken.
So one stream operation will have an impact on other stream.
If publish stream and receive stream share the same netconnetion, when we close the receive stream. dose it have impact on publish stream on the same netconnetion?
Is it because they share the same netconnetion or Wowza server's problem.
It's really unstalbe when we use Wowza to implement real time chatting program.