7 Replies Latest reply on Dec 20, 2019 3:06 AM by mark12123

    Video playback issue on IOS  | accept ranges:none

    abhinav.gupta01

      Hello,

       

      We are facing issues while playing videos on IOS devices. We understood that for video to play successfully on Ios requires range headers support. ([WFLY-6413] Range headers do not seem to be handled correctly and prevents video delivery in Chrome and Safari - JBoss I… )

      We are on Wildfly 14 and we see that for media requests we have accept-ranges: none, but it should be accept-ranges:bytes.

       

      To enable this byte ranges explicitly we added expression-filter in standalone-full.xml like below, it was described here Re: Does Wildfly/Undertow support byte-range requests?

       

      <filters>

      <expression-filter name="ranges" expression="byte-range(send-accept-ranges=true)" />

      </filters>

       

      attaching standalone-full.xml as an example.

       

      Still no luck, we still see accept-ranges:none

       

      I am also attaching complete network debugger .har file, this file has all requests and responses.

       

      Below is the actual request which fetch media/mp4 from server, you can find such request in attached .har and we could see in response header that accept-ranges is none.

       

      Request URL:

       

      https://localhost:8444/InService/servlet/servicecenter/rest/media/Element.Media%3A%3AVj0xfnsicklkIjoiSVNfMDAwMDAxODk5NF9BTVBfT3JnIiwib3AiOlsiSVNfMDAwMDAxODk5NF9BTVBfT3JnIiwiSVNfMDAwMDAyMjU1M19BTVBfT3JnIiwiSVNfMDAwMDAyMjY4M19BTVBfT3JnIiwiQ29sMV9HUkFQSElDXzAwMDAwMDAxMzdfeC5tcDQiXSwibm4iOjMyNzUsInRzIjoxNTM5MTY1NTM5MzY0fQ/files/Col1_GRAPHIC_0000000137_x.mp4?collectionId=Col1&contentLang=x&highlight=mp4&effectivity=ContextId%20eq%20%27Product%253A%253AVj0xfnsicklkIjoiMDAwMDAyMjIwMiIsIm9wIjpbIjAwMDAwMjIyMDIiXSwibm4iOjIsInRzIjoxNTM5MTYzNTgxNjI5fQ%27&SRCType=Media

       

       

      Does wildfly 14 support range-headers? are there any more settings/configurations we are supposed to do? Videos are unplayable on all ios devices, Please Help!

       

       

      Thanks