It is recommended to use HLS streams on the iOS platforms. So, it is recommended to configure the below settings specifically for Safari on both desktop and mobile devices.
preferredTech: [
{
player: 'native',
streaming: 'hls'
},
{
player: 'html5',
streaming: 'hls'
},
]
Furthermore, the player already comes with pre-defined configurations optimized for the browsers. By simply providing HLS/DASH streams in the source, the player will automatically select the corresponding stream based on the platform. If you prefer the player to manage this, you can remove the preferredTech
, and the default player configurations will function accordingly.