Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities