Configures different kinds of buffer settings for media types defined in MediaType.

Example:

buffer: {
[MediaType.Video]: {
[BufferType.ForwardDuration]: 30,
[BufferType.BackwardDuration]: 20,
},
[MediaType.Audio]: {
[BufferType.ForwardDuration]: 50,
[BufferType.BackwardDuration]: 20,
},
},
interface BufferConfig {
    audio?: BufferMediaTypeConfig;
    video?: BufferMediaTypeConfig;
}

Properties

Properties

Configures various settings for the audio buffers.

Configures various settings for the video buffers.