             Logger.debug(type: .peerChannel, message: "did set remote description")
             Logger.debug(type: .peerChannel, message: "\(offer.sdpDescription)")
 
-            if initsPublisher {
+            if isSender {
                 self.initializePublisherStream()
             }
 

        }
    }

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

        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
