This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

onaddtrack

Summary

Handles the addtrack event when fired on the MediaStream object.

Property of apis/media_capture_and_streams/MediaStreamapis/media_capture_and_streams/MediaStream

Syntax

var result = stream.onaddtrack;
stream.onaddtrack = value;

Return Value

Returns an object of type

EventHandler