Get ingest URLs for a Streamplace station.
GET
/xrpc/place.stream.ingest.getIngestUrls
const url = 'https://example.com/xrpc/place.stream.ingest.getIngestUrls';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/xrpc/place.stream.ingest.getIngestUrlsResponses
Section titled “Responses”Success
Media typeapplication/json
object
ingests
required
Array
One of:
An ingest URL for a Streamplace station.
object
type
required
The type of ingest endpoint, currently ‘rtmp’ and ‘whip’ are supported.
string
url
required
The URL of the ingest endpoint.
string format: uri
Example generated
{ "ingests": [ { "type": "example", "url": "https://example.com" } ]}