UNPKG

@isomp4/box-moof

Version:

Implements encoding and decoding of the moof box type

25 lines (24 loc) 1.2 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.moof = exports.traf = void 0; const core_1 = require("@isomp4/core"); const mfhd_js_1 = require("./mfhd.js"); const tfdt_js_1 = require("./tfdt.js"); const tfhd_js_1 = require("./tfhd.js"); const trun_js_1 = require("./trun.js"); exports.traf = new core_1.BoxEncoding("traf", tfdt_js_1.tfdt, tfhd_js_1.tfhd, trun_js_1.trun); exports.moof = new core_1.BoxEncoding("moof", mfhd_js_1.mfhd, exports.traf); __exportStar(require("./mfhd.js"), exports); __exportStar(require("./tfdt.js"), exports); __exportStar(require("./tfhd.js"), exports); __exportStar(require("./trun.js"), exports);