Package com.opentok
Class Hls.Builder
java.lang.Object
com.opentok.Hls.Builder
- Enclosing class:
- Hls
Used to create the Hls object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the HLS object with the selected settings.dvr
(boolean dvr) Whether to enable DVR functionality — rewinding, pausing, and resuming — in players that support it (true), or not (false, the default).lowLatency
(boolean lowLatency) Whether to enable low-latency mode for the HLSstream.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
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
Builds the HLS object with the selected settings.
-