w3c/mediacapture-main — pull request #40 by jan-ivar (2014-10-20 20:00:47+00:00)
Title: Add MediaStreamTrack.ended promise

I took a stab at the various failure conditions, mirroring them on getUserMedia as much as possible.