Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3638

YouTube Data API: liveStreamingDetails.concurrentViewers not returned in response

$
0
0

Since mid-Jan 2022, I noticed that the YouTube Data API's list method no longer returns liveStreamingDetails.concurrentViewers. This happens to me with all live videos in several channels.

https://youtube.googleapis.com/youtube/v3/videos?part=liveStreamingDetails&id=[VIDEO_ID]&key=[YOUR_API_KEY]

Response:

{"kind": "youtube#videoListResponse","etag": "ETAG_ID","items": [    {"kind": "youtube#video","etag": "ETAG_ID","id": "VIDEO_ID","liveStreamingDetails": {"actualStartTime": "YYYY-MM-DDTHH:MM:SSZ","actualEndTime": "YYYY-MM-DDTHH:MM:SSZ","scheduledStartTime": "YYYY-MM-DDTHH:MM:SSZ"      }    }  ],"pageInfo": {"totalResults": 1,"resultsPerPage": 1  }}

Document references:

From the second doc (bold is mine):

The property and its value will be present if the broadcast has current viewers and the broadcast owner has not hidden the viewcount for the video.

As far as I know, none of the channels nor videos that I tested with have blocked viewcounts.

Is there any other way to retrieve the concurrent viewers programmatically?


Viewing all articles
Browse latest Browse all 3638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>