小编Nav*_*han的帖子

获取 Instagram 直播 RTMP URL 和密钥

有一些应用程序(例如Yellow duck)可以为您获取 RTMP URL 和密钥。然后可以将它们与 OBS 或任何其他流媒体软件一起使用。我正在构建的功能需要复制 Instagram 的功能,并为用户从 Instagram 中提取 RTMP 详细信息。

我曾尝试使用 Charles 代理来确定 Yellow duck 的工作原理,但我的技术有限,并且没有产生任何结果。

我知道没有可用的公共 API,这可能违反了他们的 ToS。

rtmp live-streaming instagram instagram-api instagram-graph-api

8
推荐指数
1
解决办法
9906
查看次数

Kubernetes Pod 偶尔会抛出“ImagePullBackOff”或“ErrImagePull”

我知道当 K8 无法拉取容器时会发生 ImagePullBackOff 或 ErrImagePull,但我不认为这里是这种情况。我这么说是因为随着我的服务扩展,这个错误只是由某些Pod 随机 抛出,而其他 Pod 则完全正常,状态正常。

例如,请参阅此处的副本集。

我从这样一个失败的 Pod 中检索了事件。

Events:
  Type     Reason     Age                   From                                                          Message
  ----     ------     ----                  ----                                                          -------
  Normal   Scheduled  3m45s                 default-scheduler                                             Successfully assigned default/storefront-jtonline-prod-6dfbbd6bd8-jp5k5 to gke-square1-prod-clu-nap-n1-highcpu-2-82b95c00-p5gl
  Normal   Pulling    2m8s (x4 over 3m44s)  kubelet, gke-square1-prod-clu-nap-n1-highcpu-2-82b95c00-p5gl  pulling image "gcr.io/square1-2019/storefront-jtonline-prod:latest"
  Warning  Failed     2m7s (x4 over 3m43s)  kubelet, gke-square1-prod-clu-nap-n1-highcpu-2-82b95c00-p5gl  Failed to pull image "gcr.io/square1-2019/storefront-jtonline-prod:latest": rpc error: code = Unknown desc = Error response from daemon: unauthorized: You don't have the needed permissions to perform …
Run Code Online (Sandbox Code Playgroud)

kubernetes

5
推荐指数
1
解决办法
3312
查看次数

`+''`` 在 Ruby 中是什么意思?

我正在查看的项目中有这行代码 - cta = send(state + '_cta') || +''

有什么作用+''

ruby string

4
推荐指数
1
解决办法
102
查看次数