Giter VIP home page Giter VIP logo

Comments (6)

lystormenvoy avatar lystormenvoy commented on May 12, 2024 1

我之前使用Nginx RTMP模块配置的流
RTMP流:rtmp://192.168.1.1:1935/hls/dyxx
HLS流:
http://192.168.1.1:6080/hls/dyxx.m3u8
HTTP-FLV流:
http://192.168.1.1:6080/flv/dyxx
不知道lal是否也可以实现这样的流地址格式呢?

感谢提出建议,会尽快支持。
你的需求包含以下几点:

  1. HLS流和HTTP-FLV流可共用一个端口
  2. HLS流和HTTP-FLV流的url路径支持配置

另外,我有一个疑问,你举例中的HLS流的url路径中的/hls/,是希望

  1. HLS流的url路径跟随RTMP推流中的/hls/(也即RTMP appname)变化
  2. HLS流的url路径是一个静态可配置的url路径(也即不管RTMP appname是什么,HLS的url路径配置为/hls/就固定为/hls/)。

我个人倾向于第二种,感觉第一种没有太多实际使用场景。

我之前使用的是Nginx,所以http流服务是在http里面配置的,location配的什么就是什么,和rtmp的appname没什么关系。

from lal.

lystormenvoy avatar lystormenvoy commented on May 12, 2024

我之前使用Nginx RTMP模块配置的流
RTMP流:rtmp://192.168.1.1:1935/hls/dyxx
HLS流:
http://192.168.1.1:6080/hls/dyxx.m3u8
HTTP-FLV流:
http://192.168.1.1:6080/flv/dyxx
不知道lal是否也可以实现这样的流地址格式呢?

from lal.

q191201771 avatar q191201771 commented on May 12, 2024

我之前使用Nginx RTMP模块配置的流
RTMP流:rtmp://192.168.1.1:1935/hls/dyxx
HLS流:
http://192.168.1.1:6080/hls/dyxx.m3u8
HTTP-FLV流:
http://192.168.1.1:6080/flv/dyxx
不知道lal是否也可以实现这样的流地址格式呢?

感谢提出建议,会尽快支持。
你的需求包含以下几点:

  1. HLS流和HTTP-FLV流可共用一个端口
  2. HLS流和HTTP-FLV流的url路径支持配置

另外,我有一个疑问,你举例中的HLS流的url路径中的/hls/,是希望

  1. HLS流的url路径跟随RTMP推流中的/hls/(也即RTMP appname)变化
  2. HLS流的url路径是一个静态可配置的url路径(也即不管RTMP appname是什么,HLS的url路径配置为/hls/就固定为/hls/)。

我个人倾向于第二种,感觉第一种没有太多实际使用场景。

from lal.

q191201771 avatar q191201771 commented on May 12, 2024

@lystormenvoy
master分支的最新代码已经支持了,可以试试。

from lal.

lystormenvoy avatar lystormenvoy commented on May 12, 2024

好的,谢谢

from lal.

q191201771 avatar q191201771 commented on May 12, 2024

这个issue的功能已经实现,
我将关闭这个issue,有需要的话可以随时重新打开,或者创建新的issue,感谢。

from lal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.