About the video size of the stream

Is there a way to know the video size of the person logged into room?
I want to display the image of the opponent in full screen.