You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
更正:
魔都电信桥接,单线融合,openwrt正常实现rtp2httpd功能的前提下,飞牛原生rtp2httpd 功能实现参考(含FCC功能)
SSH飞牛后台:
ip link add link enp4s0 name iptv type vlan id 85
ip link set iptv up
dhclient -4 iptv(FCC能正常工作的关键一步,整个内网最好只有一个含DHCP客户端的组播vlan)
Activity
stackia commentedon Sep 3, 2026
不需要在 rtp2httpd 里解析或剥离 802.1Q。组播收包走的是普通 UDP socket + IGMP join,内核不会把带 VLAN tag 的帧交给物理口(如
eth0)上的 IP/UDP socket,所以绑定物理口确实收不到全透传过来的 tagged 组播。直接把上游接口写成
eth0.12可以工作,但前提是系统里已经有这个内核设备。 配置里写eth0.12并不会创建 VLAN,也不会替内核剥 tag。正确顺序是:8021q模块会在收包时剥 tag、发包时加 tag):接口不存在时日志会报
Multicast: interface eth0.12 does not exist。接口名必须是
ip link能看到的内核设备名,不一定叫eth0.12:wan.85/eth0.85/br-vlan85vwan*一类虚拟线路名。爱快需要先在网卡/线路里创建对应 VLAN 虚拟接口,再在 rtp2httpd 插件里填这个名字;插件不会替系统建 VLAN。不会做进程内剥 tag(
AF_PACKET解析 802.1Q 再自己发带 tag 的 IGMP)。那是内核 VLAN 子接口的职责,rtp2httpd 也不是 VLAN 管理器。文档补充见 #743
stackia commentedon Sep 3, 2026
我让 AI 分析可能性,结果上面 AI 自己就回复了。。
rtp2httpd 是应用态程序,并不太容易实现 vlan tag 剥离。还是需要在系统层面配置 vlan 子接口,然后设置为 rtp2httpd 组播上游接口。
liujievs commentedon Sep 3, 2026
按照上述方法,设置了组播vlan的虚拟接口vwan_zb,在rtp2httpd中设置组播上游接口为vwan_zb,现应用能够识别组播数据,但只能播放第一个频道,无法切台,fcc也提示timeout。是否这几个上游端口设置有问题?
lqzhj commentedon Sep 14, 2026
更正:
魔都电信桥接,单线融合,openwrt正常实现rtp2httpd功能的前提下,飞牛原生rtp2httpd 功能实现参考(含FCC功能)
SSH飞牛后台:
ip link add link enp4s0 name iptv type vlan id 85
ip link set iptv up
dhclient -4 iptv(FCC能正常工作的关键一步,整个内网最好只有一个含DHCP客户端的组播vlan)
rtp2httpd 绑定创建的虚拟网口:
upstream-interface-multicast = iptv
igmp666 commentedon Sep 24, 2026
你的FCC上游接口要填 vwan_iptv !FCC用的是单播地址,必须是IPTV拨号线路,不能是组播线路。暂时先不用FCC,看能否正常换台。正常之后再开FCC,一步一步来。此外,你至少能做到在内网设备能 ping 通 FCC 服务器再说。