Issue with the hideLiveViewerCount property

Type

Live Streaming

What is the issue you’re encountering

issue with the hideLiveViewerCount property in the Cloudflare Stream API

What steps have you taken to resolve the issue?

I am encountering an issue with the hideLiveViewerCount property in the Cloudflare Stream API. Despite setting the hideLiveViewerCount field to true when creating a live input, the field is returned as false in the API response.

Here is an example of the API request I am using:

curl -X POST https://api.cloudflare.com/client/v4/accounts/{account_id}/stream/live_inputs
-H “Authorization: Bearer {API_TOKEN}”
-H “Content-Type: application/json”
-d ‘{
“meta”: {
“name”: “UAI Open Day 2024”
},
“recording”: {
“mode”: “automatic”,
“timeoutSeconds”: 3600,
“hideLiveViewerCount”: true
},
“deleteRecordingAfterDays”: null
}’
And here is a sample of the response I receive:

{
“result”: {
“meta”: {
“name”: “UAI Open Day 2024”
},
“recording”: {
“mode”: “automatic”,
“timeoutSeconds”: 3600,
“hideLiveViewerCount”: false
},
“deleteRecordingAfterDays”: null
},
“success”: true,
“errors”: ,
“messages”:
}
As you can see, the hideLiveViewerCount field remains false in the response, even though I explicitly set it to true in the request. I have verified the account ID and token permissions, and everything else appears to be functioning as expected.

Could you please confirm if this is an issue with the API or if additional configuration is required to enable hideLiveViewerCount successfully?

Thank you for your assistance.