YouTube liveStreaming API 方法 LiveStream.list 不返回 YouTube 提出的流 [英] YouTube liveStreaming API method LiveStream.list doesn't return stream proposed by YouTube

查看:28
本文介绍了YouTube liveStreaming API 方法 LiveStream.list 不返回 YouTube 提出的流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我偶然发现了

我做错了什么吗?

解决方案

您可以通过为 broadcastType 传递 persistent 来检索有关默认或Stream Now"广播的信息> liveBroadcast.list 中的参数.

I have stumbled upon an unexpected behavior of YouTube liveStream API.

Whenever I request liveStream.list method, the only streams I get back are the ones initiated by my encoding software or liveStream.insert calls.

What I am trying to retrieve instead is the stream that is proposed by YouTube in the default encoder setup:

Am I doing something wrong?

解决方案

You can retrieve information about the default, or "Stream Now" broadcast by passing persistent for the broadcastType parameter in liveBroadcast.list.

这篇关于YouTube liveStreaming API 方法 LiveStream.list 不返回 YouTube 提出的流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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