【问题标题】:Redirect RTMP protocol to another RTMP stream将 RTMP 协议重定向到另一个 RTMP 流
【发布时间】:2013-05-22 13:04:28
【问题描述】:

是否可以将 RTMP 协议重定向到另一个 RTMP 流?

如果是,我该怎么做?

详细说明: 例如:我得到了rtmp://mydomain.com/stream/redirect,我希望它从rtmp://otherdomain.com/stream/ 重定向或获取内容/流

【问题讨论】:

    标签: flash stream ffmpeg rtmp rtmps


    【解决方案1】:

    为此,您可以使用Wowza streaming engine 作为live stream repeaterThishow-to 提供了必要的步骤。

    或者您可以结合使用ffmpegffserver(需要Linux 操作系统)来获取和重新传输您的RTMP 流。请参阅here 了解更多信息。

    【讨论】:

      【解决方案2】:

      您可以使用 ffmpeg 执行此操作,如下所示 ffmpeg -i rtmp://otherdomain.com/stream -f flv rtmp://mydomain.com/stream/redirect

      【讨论】:

      • 嗨,我收到上述命令的错误 [rtmps @ 0x33c61e0] 意外回复 getStreamLength() 输入/输出错误任何帮助?请
      • 这是代理,不是重定向。
      【解决方案3】:

      如果您使用 nginx 处理请求,使用位置标头,我认为您可以在服务器端执行此操作。

      “位置:rtmp://otherdomain.com/stream/”

      其他方法是使用代理通行证 -

      https://github.com/winshining/nginx-http-flv-module

      这个问题也是下面的重复 -

      Redirect RTMP protocol to another RTMP stream

      【讨论】:

        【解决方案4】:

        还有另一个免费的服务器。您可以在 Ant Media Server via rest service 上将端点添加到 RTMP 流。它甚至可以发布到social media at the same time

        https://github.com/ant-media/Ant-Media-Server

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2015-04-22
          • 1970-01-01
          • 2017-04-25
          • 1970-01-01
          • 2011-08-26
          相关资源
          最近更新 更多