StreamResponse (JSON)

StreamResponse (JSON)

Response to all stream APIs.

StreamResponse

The StreamResponse object has the following specification.

MemberTypeDescription
ErrorErrorError returned.
UrlstringThe URL of the stream.
ContentTypestringThe stream's content type. Can be one of the following:
  • "application/vnd.apple.mpegurl": HLS MPEG-TS AAC 128-kbit stream with AES encryption.
  • "audio/mpeg": MP3 HTTP progressive download.
ExpiresOnDateTimeGMT expiry time of the stream URL.

Sample JSON syntax

{
  "Url": "https://webstream-vh.akamaihd.net/i/129/580/712/155/audio.mp4/
    master.m3u8?rid=b56194dd-1720-4984-a9e8-0666cb717a5d-i2-fr-FR-music-asset-location&
    hdnea=exp=1405687092~acl=/i/129/580/712/155/audio.mp4*~
    hmac=4fd5bc2e422b8cb152cc40169f9f4a883c6cda372236f6a12e3985061bcdfa31",
  "ContentType": "application/vnd.apple.mpegurl",
  "ExpiresOn": "2014-07-18T12:38:12.349Z"
}
  
Show:
© 2016 Microsoft