Coder Social home page Coder Social logo

Comments (7)

aeeq avatar aeeq commented on June 23, 2024

编辑 /etc/config/udpxy 里面 mcsub_renew 对应就是 -M ,然后重启 /etc/init.d/udpxy restart

from chinatelecom-guangdongiptv-rtp-list.

fqx avatar fqx commented on June 23, 2024

编辑 /etc/config/udpxy 里面 mcsub_renew 对应就是 -M ,然后重启 /etc/init.d/udpxy restart

你说的这是openwrt/LEDE的配置吧,我是在LAN有一台Linux Server,没有/etc/config/udpxy这个配置文件,就是命令行-M 55,已经用上了,还是会断。

from chinatelecom-guangdongiptv-rtp-list.

fqx avatar fqx commented on June 23, 2024

2022-11-28 17 24 17

from chinatelecom-guangdongiptv-rtp-list.

aeeq avatar aeeq commented on June 23, 2024

我之前也试过,加了参数就可以了,你这个情况就不知道了。我现在直接在路由器上跑,不加参数都不会断,而且不会有网络风暴。你可以试一下在 openwrt 上跑

from chinatelecom-guangdongiptv-rtp-list.

Tzwcard avatar Tzwcard commented on June 23, 2024

你可以先看看是不是硬件问题
我以前还是200M网络的时候用的路由是EA4200v2 上面跑的openwrt然后用udpxy IPTV是pppoe拨号 然后每看3-5分钟就会断流
需要重新开始播放 大部分时间IPTV的ppp断了之后再连上组播就没了 需要光猫断电5分钟以上再开才恢复
升千兆之后光猫从原来黑色的烽火什么的换成一个小的白色光猫 主路由也换成R2S 一点问题都没有了

因为你这种情况udpxy不是直接跑在路由上 路由上IPTV链路的设置、路由的组播设置、在路由到linux机器中间的网路拓扑、linux机器的性能等等都可能是影响的因素 建议一个一个排查

from chinatelecom-guangdongiptv-rtp-list.

fqx avatar fqx commented on June 23, 2024

我找到问题了,我路由器用的RouterOS。
IGMP-Proxy里面有个选项Quick Leave,这个选项需要开启。
因为不开启的话,udpxy的drop和join都会被路由器聪明的过滤掉。

from chinatelecom-guangdongiptv-rtp-list.

fqx avatar fqx commented on June 23, 2024

BTW,我写了个python脚本可以自动把m3u加上tag-id和台标,用xteve的应该知道有什么用。

import requests, re

tgtfile = 'iptv.m3u'
url = 'https://raw.githubusercontent.com/Tzwcard/ChinaTelecom-GuangdongIPTV-RTP-List/master/GuangdongIPTV_rtp_hd.m3u'
api = 'http://epg.51zmt.top:8000/upload/'
rtp = re.compile(r'rtp://')
repl = 'http://192.168.1.1:123/rtp/'
proxies = { }

def build_m3u(url):
    r = requests.get(url, proxies=proxies, timeout=1)
    m3u = re.sub(rtp, repl, r.text)
    # with open(tempfile, 'w') as f:
    #     f.write(m3u)
    return m3u


def get_epg(m3u):
    file = {'myfile': m3u}
    r = requests.post(api, files=file, timeout=5)
    url = re.search('http.*m3u', r.text)[0]
    r = requests.get(url, timeout=5)
    with open(tgtfile, 'w') as f:
        f.write(r.text)


if __name__ == '__main__':
    m3u = build_m3u(url)
    get_epg(m3u)

from chinatelecom-guangdongiptv-rtp-list.

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.