本文介绍了如何中继h.264流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2台服务器,server2可以从server1接收h.264流。我需要我的iPad可以播放h.264流,而我的ipad和server2在同一个局域网中,但无法连接到server1,所以我需要server2将h.264流中继到我的ipad,谁拥有一个好的解决方案谢谢!

I have 2 servers, server2 can receive h.264 stream from server1. I need my iPad can play the h.264 stream, and my ipad and server2 are in the same local area network, but can not connect to server1, so I need server2 relay the h.264 stream to my ipad, who has one good solution ? thanks!

推荐答案

你的问题很模糊。

如果你通过HLS播放然后您可以在server2上安装HTTP代理。

If you are playing via HLS then you could install an HTTP proxy on server2.

Apache甚至还有一个代理模块,它允许您在server1上创建一个URL,就像它由server2托管一样,而不必将iPad配置为使用server2作为其代理。

Apache even has a proxy module which lets you make a URL on server1 appear as if it was hosted by server2 without having to configure your iPad to use server2 as its proxy.

请参阅有关反向代理的信息。

See the bit about reverse proxy.

这篇关于如何中继h.264流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-23 06:50