Once attached to a rendering element, the videoTrack resolution can be accessed with videoWidth and videoHeight.


// With element the DOM element in which the stream is being rendered
var width  = element.videoWidth

var height = element.videoHeight


Deprecated accessors

elemet.videoTrackWidth and element.videoTrackHeight are deprecated. Please update any application that uses them.