: We describe QoSDREAM, a middleware framework for the construction and management of context-aware multimedia applications. The contributions of QoSDREAM include (1) a novel approach to the handling of location data derived from sensors in the physical world which integrates sensor data from a variety of sources into streams of application-relevant events and (2) a component-based architecture for the construction of real-time multimedia and other context-aware applications. The component architecture supports the construction of application models that are used for quality of service analysis and management purposes. Working distributed applications are derived from the models.