diff --git a/client/lib/webrtc.go b/client/lib/webrtc.go index 5aa7aec..3e20549 100644 --- a/client/lib/webrtc.go +++ b/client/lib/webrtc.go @@ -304,8 +304,8 @@ func (c *WebRTCPeer) sendOfferToBroker() { c.answerChannel <- answer } -// Block until an SDP offer is available, send it to either -// the Broker or signal pipe, then await for the SDP answer. +// exchangeSDP blocks until an SDP offer is available, sends it to the Broker, +// then awaits the SDP answer. func (c *WebRTCPeer) exchangeSDP() error { select { case <-c.offerChannel: