Changes the media server region for an active stream. Used to optimise bandwidth and latency for streaming.
curl --request PATCH \
--url https://api.fluxer.app/v1/streams/{stream_key}/stream \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"region": "<string>"
}
'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}User session token from login: Authorization: <token> (no prefix). Prefer a bot account over user tokens where possible.
The stream key
The preferred voice region for the stream (1-64 characters)
No Content
curl --request PATCH \
--url https://api.fluxer.app/v1/streams/{stream_key}/stream \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"region": "<string>"
}
'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}