Removed unecessary output from logs

Removed raw bytes of ICE answers from broker logs and the SDP stanzas
from the client logs
This commit is contained in:
Cecylia Bocovich 2019-03-25 15:15:22 -04:00
parent 611cb889c5
commit 3eb9064438
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ func proxyAnswers(ctx *BrokerContext, w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusBadRequest)
return
}
log.Println("Received answer: ", body)
log.Println("Received answer.")
snowflake.answerChannel <- body
}

View file

@ -309,7 +309,7 @@ func (c *WebRTCPeer) exchangeSDP() error {
answer = nil
}
}
log.Printf("Received Answer:\n\n%s\n", answer.Sdp)
log.Printf("Received Answer.\n")
err := c.pc.SetRemoteDescription(answer)
if nil != err {
log.Println("WebRTC: Unable to SetRemoteDescription:", err)