{"json_modified": "2016-09-01T08:57:31.539218", "uuid": "43e197a9-1e8e-4d27-a18d-7a5362e32eab", "title": "MediaStreamTrack.onended", "url": "/en-US/docs/Web/API/MediaStreamTrack/onended", "tags": ["Event Handler", "API", "MediaStreamTrack", "Reference", "Property", "Media Streams API", "onended"], "translations": [], "modified": "2016-09-01T08:57:31", "label": "MediaStreamTrack.onended", "localization_tags": [], "locale": "en-US", "id": 193727, "last_edit": "2016-09-01T08:57:26", "summary": "The MediaStreamTrack.onended event handler is used to specify a function which serves as an EventHandler to be called when the ended event occurs on the track. This event occurs when the track will no longer provide data to the stream for any reason, including the end of the media input being reached, the user revoking needed permissions, the source device being removed, or the remote peer ending a connection.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/MediaStreamTrack/onended", "review_tags": []}