{"json_modified": "2016-05-19T16:52:06.869836", "uuid": "3ebd30ff-5ab3-45c5-9144-ec2c058b3fb3", "title": "RTCPeerConnection.ontrack", "url": "/en-US/docs/Web/API/RTCPeerConnection/ontrack", "tags": ["Event Handler", "Property", "WebRTC", "ontrack", "Reference", "RTCPeerConnection", "Experimental"], "translations": [], "modified": "2016-05-19T16:52:07", "label": "RTCPeerConnection.ontrack", "localization_tags": [], "locale": "en-US", "id": 185288, "last_edit": "2016-05-19T16:52:03", "summary": "The RTCPeerConnection.ontrack
property is an EventHandler
which specifies a function to be called when the track
event occurs on an RTCPeerConnection
interface. The function receives as input the event object, of type RTCTrackEvent
; this event is sent when a new incoming MediaStreamTrack
has been created and associated with an RTCRtpReceiver
object which has been added to the set of receivers on 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/RTCPeerConnection/ontrack", "review_tags": ["technical"]}