HLS m3u8 "resolution" issue

Archived from the Transloadit support forum. Originally posted on July 7, 2014; details may be outdated, see our docs for current behavior. Original thread

Hi Guys,
If I specify resolution parameter:

"video-hls-playlist-400": {
      "robot": "/media/playlist",
      "bandwidth": 535000,
      "resolution": "400x224",
      "name": "playlist-400.m3u8",
      "use": {
        "steps": "store-video-hls-400",
        "bundle_steps": true
      }
    },

The robot outputs RESOLUTION=“1024x576” where value is in quotes

#EXT-X-STREAM-INF:BANDWIDTH=2693000,CODECS="avc1.4d001f,mp4a.40.34",RESOLUTION="1024x576"

The value should be without quotes, like this:

#EXT-X-STREAM-INF:BANDWIDTH=2693000,CODECS="avc1.4d001f,mp4a.40.34",RESOLUTION=1024x576

These quotes break the file for Safari and iOS.

Here is a doc:
https://developer.apple.com/library/ios/technotes/tn2224/_index.html#//apple_ref/doc/uid/DTS40009745-CH1-DECIDEONYOURVARIANTS-DEVICE_CAPABILITIES

Hey Sergey,

issue confirmed. A patch is on its way and should be in production within 45min.

Thank you for reporting this.

Kind regards,
Tim

Co-Founder Transloadit
@tim_kos

Confirmed, works! Thanks!