The RTCRtpSender method setStreams() associates the sender's track with the specified MediaStream objects.
setStreams()
MDN Reference