YouTube Streaming API 不返回任何结果 [英] YouTube Streaming API returns no results
问题描述
我正在使用 Google 的 YouTube API Explorer(替代)到查找有关流媒体广播的信息.
I'm using Google's YouTube API Explorer (alternate) to look up information on streaming broadcasts.
无论我在各种过滤器"中放入什么字段(id
、broadcastStatus
、mine
),我总是得到类似
No matter what I put into the various "Filter" fields (id
, broadcastStatus
, mine
), I always get back something like
{
"kind": "youtube#liveBroadcastListResponse",
"etag": "\"sGDdEsjSJ_SnACpEvVQ6MtTzkrI/1a_a-Wfcf01HR1raH5I2Na5kI1o\"",
"pageInfo": {
"totalResults": 0,
"resultsPerPage": 5
},
"items": [
]
} // (The etag changes each time)
考虑到某处的某个人显然正在直播,这似乎很荒谬.
This seems ridiculous, considering that someone somewhere is demonstrably streaming.
mine=true
不返回任何结果是有道理的,因为我从来没有广播过任何东西,但是 broadcastStatus=all
应该给我一些东西.
It makes sense that mine=true
doesn't return any results because I've never broadcasted anything, but broadcastStatus=all
should give me something.
出了什么问题?
推荐答案
回应 由 DalmTo 发布的错误报告,谷歌回应告诉我们我们不得观看其他用户的直播.
In response to a bug report issued by DalmTo, Google has responded by telling us that we are not permitted to see live broadcasts by other users.
ma...@google.com<ma...@google.com>2018 年 6 月 25 日晚上 7:11
ma...@google.com<ma...@google.com> Jun 25, 2018 07:11PM
状态:无法修复(预期行为)
Live Streaming API 只允许您列出已验证用户的直播.
The Live Streaming API only permits you to list the live broadcasts of the authenticated user.
这篇关于YouTube Streaming API 不返回任何结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!