Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
replaceTrack vs setTrack #614
webrtc 1.0 uses RTPSender.replaceTrack to let a user replace an audio/video track with another MediaStreamTrack (see here).
ORTC has setTrack for the same purpose.
From a shim perspective I'd slightly prefer a uniform naming. However, I can easily add an alias by setting