MP4SetTrackESConfiguration - Set the elementary stream (ES) configuration of a track
#include <mp4.h>
bool MP4SetTrackESConfiguration(
MP4FileHandle hFile,
MP4TrackId trackId
const u_int8_t* pConfig,
u_int32_t configSize
)
Upon success, true (1). Upon an error, false (0).
MP4SetTrackESConfiguration sets the elementary stream (ES) configuration of the specified track in the mp4 file. This information is codec specific and contains the configuration necessary for the given codec to decode the samples in the track.
MP4(3)