/** | |
* MediaFileData encapsulates format information of a media file. | |
* | |
* @param {DOMString} codecs | |
* @param {long} bitrate | |
* @param {long} height | |
* @param {long} width | |
* @param {float} duration | |
*/ | |
var MediaFileData = function(codecs, bitrate, height, width, duration){ | |
this.codecs = codecs || null; | |
this.bitrate = bitrate || 0; | |
this.height = height || 0; | |
this.width = width || 0; | |
this.duration = duration || 0; | |
}; | |
module.exports = MediaFileData; |