是否可以在Youtube游戏直播流中获取用户列表 [英] Is it possible to get a list of users in a Youtube Gaming Live Stream
本文介绍了是否可以在Youtube游戏直播流中获取用户列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用YouTube在线直播API.我看不到,但是我想知道是否有一种方法可以获取所有观众的名单.
I am working with the Youtube Live Streaming api. I don't see this, but I am wondering if there is a way to get a list of all viewers.
推荐答案
如果具有特定流的videoId
,则可以使用未记录的live_stats端点获取观看者的数量:
If you have the specific stream's videoId
you can use the undocumented live_stats endpoint to get the number of viewers:
https://www.youtube.com/live_stats?v={videoid}
这篇关于是否可以在Youtube游戏直播流中获取用户列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文