YouTube API liveBroadcastContent 字段对于流不正确

Kit*_*sma 5 youtube-data-api

当我点击 YouTube API ( https://www.googleapis.com/youtube/v3/videos ) 上的视频列表端点,并在“id”字段中传递流的 id 时,我总是会得到以下结果: liveBroadcastContent 字段:

"liveBroadcastContent": "none"
Run Code Online (Sandbox Code Playgroud)

我依靠这个字段来确定视频是否是流。但是,如果此字段未针对实时流返回“实时”,则我无法确定视频是否是流。值得注意的是,请求是在流开始后几分钟内发送的,因此可能与此有关。

有没有更可靠的方法来确定 YouTube 视频是否是流?