Version 7.7.3

Back | 

GetLiveStreamPackages

Returns a list of Live stream packages for a given account

URL Format

/ws/get_live_stream_packages/api/{app_token}/c/{client_uuid}/catid/{category_id}/start/{start}/end/{end}/apiv/{api_version}/mode/json

Parameters

Name Req Type Description
c string client/account uuid
app_token string The account api token
start int The start range of live stream packages to return. Must be used in conjunction with end. Zero-based index
end int The end range of live stream packages to return. Used in conjunctions with start. Will return a subset of available live stream packages. Used primarily for pagination. Zero-based inclusive index: E.G. /start/0/end/4/ will return five packages from the beginning.

Possible Responses

  • 634 Live Stream Packages found
  • 659 Invalid Client
  • 102 Invalid app token

Example Response

{"response":{"success":{"code":634,"message":"Live Stream Packages found","details":""},"getLiveStreamPackageResponse":{"totalCount":"6","currentCount":5,"liveStreamPackages":[{"class":"LiveStreamPackage","id":3,"title":"Scuba Steve SD","type":"video","uuid":"m76u3x50","rtsp":"","isLPOStreamPackage":0,"streams":{"sdSmil":"https:\/\/mz-edge.stream.co.jp\/ws\/get_package_smil\/p\/m76u3x50\/type\/sd\/live.smil"},"m3u8":"http:\/\/kitdigitalhdios-f.akamaihd.net\/i\/JoshuaTest_iOS@85028\/master.m3u8","m3u8Audio":"","thumbnailUrl":"https:\/\/mz-edge.stream.co.jp\/thumbs\/tid\/w100\/h74\/t\/9166233.jpg"},{"class":"LiveStreamPackage","id":5,"title":"Scuba Steve HD","type":"video","uuid":"xtu217u5","rtsp":"","isLPOStreamPackage":0,"streams":{"hdSmil":"https:\/\/mz-edge.stream.co.jp\/ws\/get_package_smil\/p\/xtu217u5\/type\/hd\/live.smil"},"m3u8":"http:\/\/stream1.piksel.cshds.lldns.net\/piksel\/stream1\/stream1.m3u8","m3u8Audio":"","thumbnailUrl":"https:\/\/mz-edge.stream.co.jp\/thumbs\/tid\/w100\/h74\/t\/9166235.jpg"},{"class":"LiveStreamPackage","id":3409,"title":"Safran Test Stream","type":"video","uuid":"l231mbmd","rtsp":"","isLPOStreamPackage":0,"streams":{"hdSmil":"https:\/\/mz-edge.stream.co.jp\/ws\/get_package_smil\/p\/l231mbmd\/type\/hd\/live.smil"},"m3u8":"http:\/\/kitdigitalhdios-f.akamaihd.net\/i\/safran_ios@154200\/master.m3u8","m3u8Audio":"","thumbnailUrl":"https:\/\/mz-edge.stream.co.jp\/thumbs\/tid\/w100\/h74\/t\/1.jpg"},{"class":"LiveStreamPackage","id":3449,"title":"\">