index.js 537 B

1234567891011121314151617181920
  1. /**
  2. * mux.js
  3. *
  4. * Copyright (c) Brightcove
  5. * Licensed Apache-2.0 https://github.com/videojs/mux.js/blob/master/LICENSE
  6. */
  7. 'use strict';
  8. var muxjs = {
  9. codecs: require('./codecs'),
  10. mp4: require('./mp4'),
  11. flv: require('./flv'),
  12. mp2t: require('./m2ts'),
  13. partial: require('./partial')
  14. }; // include all the tools when the full library is required
  15. muxjs.mp4.tools = require('./tools/mp4-inspector');
  16. muxjs.flv.tools = require('./tools/flv-inspector');
  17. muxjs.mp2t.tools = require('./tools/ts-inspector');
  18. module.exports = muxjs;