# MediaContainer

Start from base library version 2.9.0. Please remaining backward compatible.

Can be passed wx.createMediaContainer Create.

MediaContainer Audio and video processing container, which can be used for audio mixing and other operations

# method

# MediaContainer.extractDataSource(Object object)

Detach the incoming video source from the track. Tracks are not automatically added to containers to be synthesized.

# MediaContainer.addTrack(MediaTrack track)

Add an audio or video track to the container

# MediaContainer.removeTrack(MediaTrack track)

Remove an audio or video track from a container

# MediaContainer.export()

Merge tracks in container and export video files

# MediaContainer.destroy()

Destroy containers, release resources