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,
},
},

Hierarchy

  • BufferConfig

Properties

Properties

Configures various settings for the audio buffers.

Configures various settings for the video buffers.

Generated using TypeDoc