I saw this in the log file:
17:15:03.513: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
17:21:58.097: WriteN, RTMP send error 10053 (87 bytes)
17:21:58.097: WriteN, RTMP send error 10053 (111 bytes)
17:21:58.097: WriteN, RTMP send error 10038 (42 bytes)
17:21:58.097: [rtmp stream: 'adv_stream'] Disconnected from rtmp://120.92.56.166:1935/live/
17:21:58.097: [rtmp stream: 'adv_stream'] Freeing 12051 remaining packets
17:21:58.108: warning: 2 frames left in the queue on closing
17:21:58.108: Output 'adv_stream': Reconnecting in 5 seconds..
I mean, when the network is not stable, we may be able to take the initiative to drop some packets or some frames, to ensure when the network is stable , the video will not delay too much.