Streaming API

Streaming API

The infrastructure is cloud-based, therefore the IP address behind our hostname will change over time without prior notice. If your network rules require any sort of whitelisting then we suggest using our hostname for dynamic address resolution.

It is imperative that all calls to the Streaming API are made client side - this is so that we can check the client's IP and ensure that we are correctly applying any geo-restrictions to the content.

Stream

GET https://api.livestreaming.imgarena.com/api/v2/streaming/events/{id}/stream

This endpoint allows you to request playback URLs for events that are available on the Arena Live Console. These playback URLs will then need to be passed to a player client-side for successful playback.

Query Parameters

Name
Type
Description

operatorId

integer

Your company's identifier. This is provided to you by the integrations team.

auth

string

The API token for this request. Please see chapter "Authentication" for more information on how to generate a token.

timestamp

integer

The timestamp linked to the API token for this request. The timestamp value is the number of milliseconds since the Unix epoch, i.e the number of milliseconds since midnight (UTC) on January 1st, 1970.

suppressErrors

boolean

If set to "true", this will wrap all API errors in a HTTP 200 OK response.

format

string

Can be "xml" or "json" based on the output format required. Default is JSON.

thumbnail

boolean

If set to "true", the response will also return a thumbnail URL for the event.

{
    "eventId": 140898,
    "hlsUrl": "https://dice-gaming-live-sa.akamaized.net/hls/live/2000290/140898-142985/playlist.m3u8?hdnea=st=1580410608~exp=1580410648~acl=/hls/live/2000290/140898-142985/playlist.m3u8!*_*_728*!*_*_412*!*media_*~id=22ec5624-ab31-4f45-81f0-225cc6d981bf~data=22ec5624-ab31-4f45-81f0-225cc6d981bf~hmac=20f607fba457f1529b918d0423f6fd91fc1c2fd7b285adaab9dd5df0b2d221b5&evId=140898&opId=86&cc=GB&dge=false&ua=UG9zdG1hblJ1bnRpbWUvNy4yMC4x&scId=142985",
    "statusCode": 200
}

Last updated

Was this helpful?