Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BufferConfig

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

Index

Properties

Properties

Optional audio

Configures various settings for the audio buffers.

Optional video

Configures various settings for the video buffers.

Generated using TypeDoc