YouTube实时流API限制 [英] YouTube live streaming API limit

查看:144
本文介绍了YouTube实时流API限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您可以通过YouTube实时流API进行流式传输的数量有限制吗?大规模使用有价格吗?

Is there a limit to how much you can stream via YouTube live streaming API? Is there pricing for large scale usage?

我注意到YouTube数据API有配额

I noticed that there is quota given for the YouTube Data API

Youtube API限制

https://google-developers.appspot.com/youtube/v3/determine_quota_cost?hl = fr-BE

但是直播API怎么样?

But how about live-streaming API?

推荐答案

YouTube实时流API似乎是YouTube数据API的一部分(至少要使用它,您需要按照说明启用YouTube数据API 此处).我认为这意味着Live Streaming API使用与Data API相同的配额.至于带宽或流的数量,我认为没有限制,但是就其他Google API而言,可以调用该API的次数是有限制的.您提供的第一个链接就是关于此的.您提供的第二个链接仅计算在发出不同请求时消耗了多少上述配额.我相信不涉及任何费用;当您达到配额限制时,您只能在刷新配额之前不再向API发出更多请求.对于许多Google API,您可以请求更多配额,但是我看不到任何YouTube API的配额,因此这不是一个选择.

The YouTube Live Streaming API seems to be part of the YouTube Data API (at least, in order to use it you need to enable the YouTube Data API as noted here). I assume that this means the Live Streaming API uses the same quota from the Data API. As far as bandwidth or how much you can stream goes, I do not think there are limitations, but as per any other Google API, there are limitations on how many times you can call the API. The first link you provided provided is asking about this. The second link you provided simply calculates how much of said quota is consumed when different requests are made. I believe there are no costs involved; when you reach your quota limit, you simply can no longer make more requests to the API until your quota is refreshed. For many of Google's APIs you can request for more quota, but I do not see it for any of the YouTube APIs, so that may not be an option.

这篇关于YouTube实时流API限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆