remove dead code

This commit is contained in:
Serene Han 2016-03-30 22:33:47 -07:00 committed by Arlo Breault
parent 1d1882b59d
commit 03b1a0d1f1
2 changed files with 0 additions and 5 deletions

View file

@ -95,15 +95,11 @@ func TestConnect(t *testing.T) {
c.config = webrtc.NewConfiguration()
c.preparePeerConnection()
// offer := webrtc.DeserializeSessionDescription(
// `{"type":"offer","sdp":"test offer"}`)
// c.pc.SetLocalDescription(offer)
c.offerChannel <- nil
answer := webrtc.DeserializeSessionDescription(
`{"type":"answer","sdp":""}`)
c.answerChannel <- answer
c.exchangeSDP()
// So(c.pc.RemoteDescription(), ShouldEqual, answer)
})
SkipConvey("Exchange SDP fails on nil answer", func() {

View file

@ -20,7 +20,6 @@ type BrokerChannel struct {
// different from the host name in URL).
Host string
url *url.URL
// transport http.Transport // Used to make all requests.
transport http.RoundTripper // Used to make all requests.
}