WebRTC - change video resolution in the middle of communication

There is MediaStreamTrack.applyConstraints() in the spec but it doesn't look like it is supported in the browsers so far or maybe it was removed? For me it looks like this is not possible at the moment. Also take a look at this question at SO.

The only thing would be according to the question above to change the stream. One possibility would be to create a new stream with higher resolution, add that stream and replace the stream on the otherside. Afterwards you can stop/detach the stream.