Update a comment (no signal pipe anymore).

This commit is contained in:
David Fifield 2020-04-23 20:36:55 -06:00
parent 2f52217d2f
commit 65ecb798ca

View file

@ -304,8 +304,8 @@ func (c *WebRTCPeer) sendOfferToBroker() {
c.answerChannel <- answer c.answerChannel <- answer
} }
// Block until an SDP offer is available, send it to either // exchangeSDP blocks until an SDP offer is available, sends it to the Broker,
// the Broker or signal pipe, then await for the SDP answer. // then awaits the SDP answer.
func (c *WebRTCPeer) exchangeSDP() error { func (c *WebRTCPeer) exchangeSDP() error {
select { select {
case <-c.offerChannel: case <-c.offerChannel: