RTSP doesn't reconnect

which sample are you referring to? what is the while media pipeline? please refer to this topic.