bug: corrected bug at detecting webRTCReadyCb