com.opentok.Hls.Builder
Enclosing class: : Hls
public static class Hls.Builder extends Object
Used to create the Hls object.
Constructor Summary
Constructors
Constructor
Description
Builder()
Method Summary
All MethodsInstance MethodsConcrete Methods
Modifier and Type
Method
Description
Hls
build()
Builds the HLS object with the selected settings.
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).
Hls.Builder
lowLatency(boolean lowLatency)
Whether to enable low-latency mode for the HLSstream.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.