May 18, 2021 WeChat Mini Program Development Document
Base library 2.9.0 starts to support, and low versions need to be compatible.
It can be created through wx.createMediaContainer.
MediaContainer audio and video processing containers for audio mixing and more
Base library 2.9.0 starts to support, and low versions need to be compatible.
Add audio or video tracks to the container
The audio or video track to add
Base library 2.9.0 starts to support, and low versions need to be compatible.
Destroy the container and free up resources
Base library 2.9.0 starts to support, and low versions need to be compatible.
Merge the tracks within the container and export the video file
Base library 2.9.0 starts to support, and low versions need to be compatible.
Separate the incoming video source from the track. Tracks are not automatically added to the container to be synthesized.
Property | Type | The default | Required | Description |
---|---|---|---|---|
source | string | Is | Video source address, only local files are supported |
Base Library 2.9.0 starts to support, and low versions require compatibility processing.
Remove the audio or video track from the container
The audio or video track to remove