Develop Jitsi Dynamic layouts over api.executeCommand

we need to develop dynamic layouts for jitsi ( old version ) which can be
communicated through customer jitsi iframe execute the command

example arrangement

example like this

updating layout of the room in realtime

api.executeCommand('update_layout', {"room_slug":’kali’,"layout":"vertical","t1_size":10,"t2_size":90,"follows_me":true});

room_slug = slug of the room which required to update the layout
layout = layout type ( eg : default , vertical , horizontal )
follows_me = true/false if it’s true in realtime the layout settings will apply for all users else only for me
t2_size = the size of t2in t1_size = the size of t1 in

updating user position of room

api.executeCommand('update_user_position, {"room_slug":’kali’ "user_id":1,"postiton":3 });

room_slug = slug of the room which required to update the position of the user
user_id = user required to update position
position = the position for this user to be swapped if we pass 1 the user_id 1 user is on 2nd position it should swap the existing 1st position user to 2nd position

@Anish_Menon - I have sent you a DM