         Logger.debug(type: .peerChannel, message: "create and send update-answer")
         lock.lock()
         state = .waitingUpdateComplete
-        createAnswer(initsPublisher: false,
+        createAnswer(isSender: false,
                 offer: offer,
                 constraints: webRTCConfiguration.nativeConstraints)
         { answer, error in

        }
    }

    func createAnswer(initsPublisher: Bool,
                      offer: String,
                      constraints: RTCMediaConstraints,
                      handler: @escaping (String?, Error?) -> Void) {

            Logger.debug(type: .peerChannel, message: "did set remote description")
            Logger.debug(type: .peerChannel, message: "\(offer.sdpDescription)")

            if isSender {
                self.initializePublisherStream()
            }

