Package com.opentok

Class Hls.Builder

java.lang.Object
com.opentok.Hls.Builder
Enclosing class:
Hls

public static class Hls.Builder extends Object
Used to create the Hls object.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • dvr

      public Hls.Builder dvr(boolean dvr)
      Whether to enable DVR functionality — rewinding, pausing, and resuming — in players that support it (true), or not (false, the default). With DVR enabled, the HLS URL will include a ?DVR query string appended to the end.
    • lowLatency

      public Hls.Builder lowLatency(boolean lowLatency)
      Whether to enable low-latency mode for the HLSstream. Some HLS players do not support low-latency mode. This feature is incompatible with DVR mode HLS broadcasts.
    • build

      public Hls build()
      Builds the HLS object with the selected settings.