A method for rate-shaping media streams; the method includes: receiving multiple input media streams, transmission parameters, wired transmission limitations and wireless transmission limitations that represent a current status of a wireless medium; and rate-shaping at least one input media stream out of the multiple input media streams, in response to: (i) the transmission parameters, (ii) the wireless transmission limitations, and (iiii) input media stream parameters. A system for processing media streams; the system includes: a controller, adapted to determine rate-shaping parameters in response to: (i) the transmission parameters, (ii) the wireless transmission limitations, and (iii) input media stream parameters; and a rate-shaper, connected to the processor, adapted to receive multiple input media streams and perform rate-shaping according to the rate-shaping parameters.