[AVPROTO] add get local avaddr code