The strategy for period or discontinuity switches (see BaseSource.seamlessSwitchStrategy), represented by a value from the following list:
- 'auto': The player uses seamless switches if the platform supports it, and hard switches otherwise.
This is the default.
- 'never': The player never uses a seamless switch, and always uses a hard switch.
Use this if you notice that the player is attempting but failing to preload the next period or discontinuity on the current platform.
- 'always': The player always uses a seamless switch, and never uses a hard switch.
Use this if you notice that the player never preloads the next discontinuity or period, even though you know that the current platform
should support it.
- 'clear-only': The player only uses a seamless switch when no content protection is used in the current and next period. Otherwise
it always uses a hard switch.
Use this if you notice that the player is attempting but failing to preload the next period on the current platform only when
content protection is involved.
This is only supported for MPEG-DASH.
- 'same-drm-only': The player only uses a seamless switch when the same or no content protection is used in the current and next period. Otherwise
it always uses a hard switch.
Use this if you notice that the player is attempting but failing to preload the next period on the current platform only when
content protection is different between discontinuities.
This is only supported for MPEG-DASH.
The strategy for period or discontinuity switches (see BaseSource.seamlessSwitchStrategy), represented by a value from the following list:
-
'auto'
: The player uses seamless switches if the platform supports it, and hard switches otherwise. This is the default.-
'never'
: The player never uses a seamless switch, and always uses a hard switch. Use this if you notice that the player is attempting but failing to preload the next period or discontinuity on the current platform.-
'always'
: The player always uses a seamless switch, and never uses a hard switch. Use this if you notice that the player never preloads the next discontinuity or period, even though you know that the current platform should support it.-
'clear-only'
: The player only uses a seamless switch when no content protection is used in the current and next period. Otherwise it always uses a hard switch. Use this if you notice that the player is attempting but failing to preload the next period on the current platform only when content protection is involved. This is only supported for MPEG-DASH.-
'same-drm-only'
: The player only uses a seamless switch when the same or no content protection is used in the current and next period. Otherwise it always uses a hard switch. Use this if you notice that the player is attempting but failing to preload the next period on the current platform only when content protection is different between discontinuities. This is only supported for MPEG-DASH.