Let us assume that the following player configuration is given and we would like to apply source selection logic.
- The player looks at the
streamPriorityarray and see that the
dashstream has the highest priority.
- The player will check whether it received any
dashsources within the
- Since there are no
dashsources in it, the player will move to the next priority from the
streamPrioritylist which is
- After checking the
sourcesobject again and found
hlssources, the player will choose to play
However, will the player use the native hls or not? This depends on the
preferNative value for
hls. Because this value is set to
true, the player knows that if the browser supports native
hls playback, the source will be played natively.
Given the configuration information above, which source will be played in each browser?
Following summarize the results for this scenario:
||native hls||hls with