         default:
             break
         }
-        createAnswer(initsPublisher: initsPublisher,
+        createAnswer(isSender: initsPublisher,
                 offer: offer.sdp,
                 constraints: webRTCConfiguration.nativeConstraints)
         { sdp, error in

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

            if initsPublisher {
                self.initializePublisherStream()
            }


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