per the log.. rtmp send errors. no clue how to fix it. you can for sure see the stream decreasing just before the errors.
16:22:29.445: [rtmp stream: 'adv_stream'] bitrate decreased to: 5600
16:22:30.579: [rtmp stream: 'adv_stream'] bitrate decreased to: 5400
16:22:31.764: [rtmp stream: 'adv_stream'] bitrate decreased to: 5100
16:22:38.129: [rtmp stream: 'adv_stream'] bitrate decreased to: 4200
16:22:39.795: [rtmp stream: 'adv_stream'] bitrate decreased to: 3500
16:22:49.478: [rtmp stream: 'adv_stream'] bitrate decreased to: 2100
16:23:02.062: [rtmp stream: 'adv_stream'] User stopped the stream
16:23:03.659: socket_thread_windows: Normal exit
16:23:03.659: WriteN, RTMP send error 10035 (99 bytes)
16:23:03.659: WriteN, RTMP send error 10038 (42 bytes)
16:23:03.659: Output 'adv_stream': stopping