remove deprecated code
do not check the error code when audio/video retrieving fails