Error management in RTMP Client