Overview of WebAV modules
mainWebAV consists of three primary modules, each serving a specific role in audio/video processing:
- @webav/av-cliper: The foundational API for audio/video data processing. It handles tasks such as decoding, synthesizing, concatenating, and clipping audio/video data.
- @webav/av-recorder: Used for recording a
MediaStreamand outputting it as an MP4 video. In a browser environment, you can obtain aMediaStreamfrom various sources like<canvas>,<video>, cameras, microphones, or screen sharing. - @webav/av-canvas: Provides an
AVCanvas(a programmable "canvas") that allows users or code to add and control various assets. It supports outputting aMediaStream, which enables streaming the canvas content to a server or recording it as a local video.
Supported Assets in @webav/av-canvas:
- Camera
- Microphone
- Screen
- Audio/Video files
- Images
- Text