using counterfeiter instead of gomocks, much simpler

This commit is contained in:
David Zhao
2020-12-22 17:26:26 -08:00
parent 1b396d2000
commit 3518435783
18 changed files with 3352 additions and 913 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func (t *DataTrack) StreamID() string {
func (t *DataTrack) AddSubscriber(participant Participant) error {
label := PackDataTrackLabel(t.participantId, t.ID(), t.dataChannel.Label())
downChannel, err := participant.peerConnection().CreateDataChannel(label, t.dataChannelOptions())
downChannel, err := participant.PeerConnection().CreateDataChannel(label, t.dataChannelOptions())
if err != nil {
return err
}