As you know, SLDP low latency protocol is currently supported in MSE-enabled web browsers for desktop and Android using our freeware web SLDP player.
iOS browsers don't support MSE so if a viewer opens SLDP web player, it will not be able to play. However, we have SLDP Player for iOS which supports full capabilities of SLDP protocol and also allows playing RTMP and Icecast.
With latest web player release we introduced the fallback capability which allows easily map web and iOS player. You can use default fallback scenario or you can set up custom fallback.
So if the browser is opened on iOS, it works like this:
If you decided to use our player mobile SDK to build your own custom app, you may set your web player to open it instead of default SLDP Player.
We've added a few parameters to set this behavior in addition to available parameters described on web SLDP player page.
Having those parameters you may customize fallback behavior.
iOS browsers don't support MSE so if a viewer opens SLDP web player, it will not be able to play. However, we have SLDP Player for iOS which supports full capabilities of SLDP protocol and also allows playing RTMP and Icecast.
With latest web player release we introduced the fallback capability which allows easily map web and iOS player. You can use default fallback scenario or you can set up custom fallback.
Default fallback
So if the browser is opened on iOS, it works like this:
- Viewer opens page with SLDP web player.
- When user clicks to play the stream, the browser asks the user to open it in SLDP Player free app.
- If the application is installed and viewer selects to play, the SLDP Player app is opened and the playback starts.
- Besides asking for opening the app, a viewer will see a link to download the app in AppStore - it will remain on the player. So if the app is not installed, a viewer will see the download link instead of playback.
Custom fallback
If you decided to use our player mobile SDK to build your own custom app, you may set your web player to open it instead of default SLDP Player.
We've added a few parameters to set this behavior in addition to available parameters described on web SLDP player page.
- ios_failback_app_url - SLDP iOS fallback application URL. By default it's SLDP Player but you may specify any URL for AppStore app.
- ios_failback_scheme - fallback scheme for non-secure connection (ws://). By default, it's 'sldp'. So if your web player has URL like ws://server.address/app/stream , it will be opened in your SLDP app like sldp://server.address/app/stream
- ios_failback_secure_scheme - fallback scheme for secure connection (wss://), by default, it's 'sldps'. It works the same way as iso_failback_scheme parameter.
Having those parameters you may customize fallback behavior.