An architecture for adaptive real time communication with embedded devices