play MPD file of mpeg-dash on android and IOS

10,227

I'm not sure if you want web-based playback or native apps, so I'll try to cover both:

Android

On Android (depending on the version / browser) this should work fine.

Web

At least Chrome works, but also other browsers might. You will just need a web-player which supports DASH, e.g. Shaka Player, Bitmovin Player or dash.js.

Native apps

For native apps, you could use e.g. Google's ExoPlayer.

iOS

Assuming that you are using fragmented mp4 for your DASH content: For iOS 10+ you could just create an HLS manifest and re-use the same segments as for DASH. For older iOS versions you will need to create MPEG-2 Transport Stream (.ts) segments plus the HLS manifest:

Web

For a web-based solution, there is currently no way to achieve MPEG-DASH playback on iOS as Safari on iOS does not provide the required JavaScript API, the Media Source Extensions (MSE).

Native apps

It could technically be possible to use MPEG-DASH, but Apple doesn't allow any other streaming format than HLS for content longer than 10 minutes, as stated in the App Store Review Guidelines:

2.5.7 Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 192 kbps HTTP Live stream.

Share:
10,227
user3223551
Author by

user3223551

Updated on June 04, 2022

Comments

  • user3223551
    user3223551 about 2 years

    I have used ffmpeg to create a MPD file for my video, and I could play and watch it on my pc using :http://dashplayer.azurewebsites.net/

    now I want to make sure it works and plays appropriately on andoid and IOS, could anyone tell me how to test this file on android and IOS?