如何使用Streamlabs手机应用通过RTMP将流传输到Red5。

huangapple go评论114阅读模式
英文:

How to stream from Streamlabs mobile app to Red5 via RTMP

问题

我正在尝试从我的手机上进行视频流传输,并希望能在我的电脑上看到它。我在我的 iPhone 上安装了 Streamlabs 应用,并发现可以运行一个 RTMP 服务器,它的延迟比 YouTube 等平台低。我了解到 Red5 并在 Ubuntu 上运行了它。Streamlabs 要求输入一个 URL 和流密钥。我假设 URL 是我的计算机的公共 IP 地址。

问题是我不知道如何获取流密钥。没有地方简单地说明如何设置 RTMP 以便我能观看流。我只看到如何设置 RTMPS,但甚至在 GitHub Wiki 上也没有显示如何设置流。是的,我已经将 RTMP 端口(1935)进行了端口转发。我只需要弄清楚如何设置流。有人可以帮助我吗?

英文:

I'm trying to stream video from my phone and I want to be able to see it on my computer. I got the Streamlabs app on my iPhone and saw I could run an RTMP server which would have lower latency than YouTube for example. I found out about Red5 and ran it on Ubuntu. Streamslabs asks for a url and stream key. I'm assuming the url is the public ip of my computer.

The problem is that I have no idea how to get the stream key. There is no place that simply says how to setup RTMP so I can watch a stream. All I see is how to setup RTMPS which still doesn't even show how to setup a stream on the GitHub wiki. Yes, I forwarded the RTMP port (1935). I just need to figure out how to set the stream up. Can someone please help me?

答案1

得分: 0

当要求提供URL和流密钥时,应用程序通常需要服务器的URL,类似于此:rtmp://my_server_ip:1935/live,请将my_server_ip替换为您服务器的IP地址或fqdn。对于流密钥,它们需要您的流名称,通常情况下,假设您的流名称是redstone;填写这些信息,然后在应用程序上单击“发布”或“启动”,您就可以开始使用了。

英文:

When asked for url and stream key the application would normal want the url to your server which would look something like this: rtmp://my_server_ip:1935/live replace my_server_ip with your server's IP address or fqdn. For stream key, they want your stream name, usually so let's say your stream name is redstone; fill those in and hit publish or start on the app and you should be good to go.

huangapple
  • 本文由 发表于 2023年3月7日 10:51:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/75657630.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定