setStreams

fun setStreams(vararg streams: MediaStream)(source)

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

MDN Reference