diff --git a/localparticipant.go b/localparticipant.go index 413b657a..717de5a1 100644 --- a/localparticipant.go +++ b/localparticipant.go @@ -88,6 +88,7 @@ func (p *LocalParticipant) PublishTrack(track webrtc.TrackLocal, opts *TrackPubl Height: uint32(opts.VideoHeight), DisableDtx: opts.DisableDTX, Stereo: opts.Stereo, + DisableRed: opts.DisableRed, Stream: opts.Stream, Encryption: opts.Encryption, } diff --git a/publication.go b/publication.go index 4b074944..951c5bc4 100644 --- a/publication.go +++ b/publication.go @@ -436,6 +436,7 @@ type TrackPublicationOptions struct { // Opus only DisableDTX bool Stereo bool + DisableRed bool // which stream the track belongs to, used to group tracks together. // if not specified, server will infer it from track source to bundle camera/microphone, screenshare/audio together Stream string