Package com.vonage.client.video
Class Hls.Builder
java.lang.Object
com.vonage.client.video.Hls.Builder
- Enclosing class:
Hls
Used to create the Hls object.
-
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 HLS stream.
-
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?DVRquery string appended to the end.- Parameters:
dvr- DVR toggle.- Returns:
- This builder.
-
lowLatency
Whether to enable low-latency mode for the HLS stream. Some HLS players do not support low-latency mode. This feature is incompatible with DVR mode HLS broadcasts.- Parameters:
lowLatency- Low latency toggle.- Returns:
- This builder.
-
build
Builds the HLS object with the selected settings.- Returns:
- A new HLS instance.
-