addTrack

external fun addTrack(track: MediaStreamTrack, vararg streams: MediaStream): RTCRtpSender(source)

The addTrack() method of the RTCPeerConnection interface adds a new media track to the set of tracks which will be transmitted to the other peer.

MDN Reference