Contains some interesting things about video streams, video files and Media API, Canvas
TODO
Synthesize and crop video streams, which is somewhat similar to the core function of cloud director
npm i -D @media-stream/mixer
For details, see Playground
import { Mixer } from '@media-stream/mixer'
const mixer = new Mixer()
mixer.attachStream(stream)
mixer.detachStream(stream)
mixer.start()
mixer.destroy()
Record fragmentation with MediaRecorder and attach to MediaSource
npm i -D @media-stream/recorder
import { Recorder } from '@media-stream/recorder'
const recorder = new Recorder()
recorder.attachMedia(recordVideo)
recorder.start()
recorder.pause()
recorder.resume()
recorder.destroy()