Skip to content

Get Started

villainhr edited this page Jan 31, 2018 · 2 revisions

In development, you can test httplive simply;

import HTTPLive from 'httplive';

let video = document.getElementById('videoTag');

let flv = new HTTPLive({
  video
});

video.addEventListener('canplaythrough',()=>{
  video.play();
},false);

flv.send('https://xxx.flv');

But the simple demo will cost nearly ~9MB memory, the most of cost is Mux process. So you can move it to worker.

Worker or No-Worker

Usage

Clone this wiki locally