         case 1:
             return 1
         case 2:
-            return 1
+            return 2
         case 3:
             return 2
         case 4:

    
        
    }
    func setupLocalVideo(){
        agoraKit.setVideoProfile(._VideoProfile_360P, swapWidthAndHeight: false)
        let videoCanvas=AgoraRtcVideoCanvas()
        videoCanvas.uid=localUid
        videoCanvas.view = remoteView
        videoCanvas.renderMode = .render_Fit
        
    }
    
    
    @IBAction func handUp(_ sender: Any) {

    
    override func viewDidLoad() {
        super.viewDidLoad()
        initAgoraEngine()
        setupVideo()
        setupLocalVideo()
        agoraKit.joinChannel(byKey: nil, channelName: "demo", info: nil, uid: 0) { [weak self](sid,uid,elapsed)->Void in
            if let weakSelf=self{
