Skip to content

Commit

Permalink
Fix codec name for probe producer
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed May 15, 2024
1 parent 0ea651d commit 69c288b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/probe/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (p *Probe) GetMedias() []*core.Media {
}

func (p *Probe) AddTrack(media *core.Media, codec *core.Codec, track *core.Receiver) error {
sender := core.NewSender(media, codec)
sender := core.NewSender(media, track.Codec)
sender.Bind(track)
p.Senders = append(p.Senders, sender)
return nil
Expand Down

0 comments on commit 69c288b

Please sign in to comment.