Auto reconnect in whipeclientsink

I have another issue. It is not directly related to the auto reconnect, so I created another thread. Encoder settings in whipeclientsink