瀏覽代碼

Fixed setLocalDescription() so it doesn't require a fingerprint

Paul-Louis Ageneau 5 年之前
父節點
當前提交
68fd331a9c
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      src/peerconnection.cpp

+ 1 - 4
src/peerconnection.cpp

@@ -82,10 +82,7 @@ std::optional<Description> PeerConnection::remoteDescription() const {
 }
 
 void PeerConnection::setLocalDescription(std::optional<Description> description) {
-	if (description)
-		PLOG_VERBOSE << "Setting local description: " << string(*description);
-	else
-		PLOG_VERBOSE << "Setting default local description";
+	PLOG_VERBOSE << "Setting local description";
 
 	if (auto iceTransport = std::atomic_load(&mIceTransport)) {
 		throw std::logic_error("Local description is already set");