simulcast codecs support (#720)

simulcast codecs support 

Co-authored-by: David Zhao <dz@livekit.io>
This commit is contained in:
cnderrauber
2022-05-27 19:55:50 +08:00
committed by GitHub
co-authored by David Zhao
parent 3054f3eea3
commit f958fbcc1c
30 changed files with 1098 additions and 574 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ func TestTrackPublishing(t *testing.T) {
sink := p.params.Sink.(*routingfakes.FakeMessageSink)
track := &typesfakes.FakeLocalMediaTrack{}
track.SdpCidReturns("cid")
track.HasSdpCidCalls(func(s string) bool { return s == "cid" })
// directly add to publishedTracks without lock - for testing purpose only
p.UpTrackManager.publishedTracks["cid"] = track