Host video is not showing on Participant or other user phone in swift in iOS

User side : Host Video is not showing but only video showing to me.
Host side : showing own video and also showing other user video.

Question is here , why not showing host video to User who joined host meeting or video call with Zoom video SdK.

func onSessionJoin() {

    // Render the current user's video

    var i = 0

    if let myUser = ZoomVideoSDK.shareInstance()?.getSession()?.getMySelf(),
       // Get User's video canvas
       let myUserVideoCanvas = myUser.getVideoCanvas() {

        if let myVideoIsOn = myUserVideoCanvas.videoStatus()?.on,
           myVideoIsOn == false {

            DispatchQueue.main.async {

                self.tabBar.isHidden = false

                myUserVideoCanvas.subscribe(with: self.otherView, aspectMode: .panAndScan, andResolution: ._Auto)
            //                }
        } else {
            print("No video status or it was on")

  // for host video code

    if  let allUser = ZoomVideoSDK.shareInstance()!.getSession()!.getHost() 
         , let hostCanvas = allUser.getVideoCanvas() {

                                if let otherVideoIsOn = hostCanvas.videoStatus()?.on , otherVideoIsOn == true {

                                    DispatchQueue.main.async {

                                        hostCanvas.subscribe(withPiPView: self.canvasView, aspectMode: .panAndScan, andResolution: ._Auto)


I have implemented as provided me code user video documentation code on zoom doc for zoom video sdk , but it is not working for me host , host code is not provided on the documentation. Can you provide me host code to me. which i have implemented code for host , that is i have drived from internal funtional by own doing efforts, but it is not giving any host . Comipler skip this host check, what will i do, can you help me out, i have to deliver build to soon client.

Below devices iphone and ipad i have used for this video call or join meeting session are written below :
Smartphone (please complete the following information):

  • Device: [e.g. iPhone 11, iphone X]
  • OS: [e.g. iOS 16]
  • also used ipad

Kindly save me time to give me feedback soon, Any helping hands will be appricates!!!