Get Media Live
Overview
Retrieves the live media for a given ongoing call.The function is available as a HTTP GET or HTTP POST request.
Request
Get Media Live:
Get Media Live HTTP GET sample:
Parameters
Detailed description of the API request elements:
URL parameter | Example | Description | Requirements |
---|---|---|---|
action | action=GetMedia | Name of the HTTP API request. | Mandatory |
apiKey | apiKey=74c8eea0-50c6-40b2-9f3e-252ed501c3c8 | API key used to identify the application. | Mandatory |
token | token=09835e02-6c10-11e0-bb22-ba324924019b | Unique identifier for authenticated sessions. After successful authentication, the API sends back a token, which has to be used for each request. | Mandatory if authentication is configured for the given API key. |
callID | callID=a8343631-9f35-4a3a-83f0-9e81592339fb | Defines the internal ID of the call. | Either the callID or either the number parameter is mandatory |
format | format=mp3 | Currently only mp3 format is supported in the API for live calls |
Response
The response contains the raw stream of the media file over HTTP in its original file format.