If you go off the beaten tourist path, you'll find the best food in people homes that double as "restaurants". I find that especially so in central and west Africa. For example, the porcupine in Cameroon is a very special delicacy when home cooked.
I'm a fan of street food in cities like Los Angeles, Salvador, and Bangkok, etc., but with a few exceptions, you just don't see it as much in Africa.