Home Reference Source

src/helper/mediasource-helper.js

/**
 * MediaSource helper
 */

export function getMediaSource () {
  if (typeof window !== 'undefined')
    return window.MediaSource || window.WebKitMediaSource;
}