Change video quality

I want to start a call with low quality and after if user want that he can change the video quality as high
I set constraints as
constraints: {
video: {
aspectRatio: 16 / 9,
height: {
ideal: 180,
max: 720,
min: 180
}
}
},

but i cant change video quality to high