Add RelayURL support in proxy

This commit is contained in:
Shelikhoo 2022-04-07 21:32:55 +01:00
parent 613ceaf970
commit 863a8296e8
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316
2 changed files with 33 additions and 14 deletions

View file

@ -365,7 +365,7 @@ func TestBrokerInteractions(t *testing.T) {
b,
}
sdp := broker.pollOffer(sampleOffer, DefaultProxyType, nil)
sdp, _ := broker.pollOffer(sampleOffer, DefaultProxyType, "", nil)
expectedSDP, _ := strconv.Unquote(sampleSDP)
So(sdp.SDP, ShouldResemble, expectedSDP)
})
@ -379,7 +379,7 @@ func TestBrokerInteractions(t *testing.T) {
b,
}
sdp := broker.pollOffer(sampleOffer, DefaultProxyType, nil)
sdp, _ := broker.pollOffer(sampleOffer, DefaultProxyType, "", nil)
So(sdp, ShouldBeNil)
})
Convey("sends answer to broker", func() {