Rate-Distortion Optimization for Video Communication in Resource Constrained IP Networks