fixed keys parsing from ENV/cli
This commit is contained in:
@@ -127,7 +127,7 @@ func (t *MediaTrack) AddSubscriber(participant types.Participant) error {
|
||||
}
|
||||
|
||||
outTrack.SetTransceiver(transceiver)
|
||||
// TODO: when outtrack is bound, start loop to send reports
|
||||
// when outtrack is bound, start loop to send reports
|
||||
outTrack.OnBind(func() {
|
||||
if rr := bufferFactory.GetOrNew(packetio.RTCPBufferPacket, outTrack.SSRC()).(*buffer.RTCPReader); rr != nil {
|
||||
rr.OnPacket(func(pkt []byte) {
|
||||
|
||||
@@ -48,6 +48,7 @@ func TestIsReady(t *testing.T) {
|
||||
func TestTrackPublishing(t *testing.T) {
|
||||
t.Run("should send the correct events", func(t *testing.T) {
|
||||
p := newParticipantForTest("test")
|
||||
p.state.Store(livekit.ParticipantInfo_ACTIVE)
|
||||
track := &typesfakes.FakePublishedTrack{}
|
||||
track.IDReturns("id")
|
||||
published := false
|
||||
|
||||
Reference in New Issue
Block a user