Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

advertise_internal_ip: true on a use_external_ip SFU leaves some subscribers with zero downlink frames (v1.13.7)

未关闭
#4,932 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
aws, go, kubernetes

调研方向

Start by tracing how rtc.advertise_internal_ip and rtc.use_external_ip affect ICE candidate generation, then inspect candidate-pair logs for the SFU and Python SDK to compare affected and unaffected sessions. Reproduce with the listed v1.13.7 configuration and participant setup; done means subscribers receive downlink frames while the private candidate is advertised alongside the public one.

由索引模型根据 Issue 内容生成。

描述

Describe the bug

With rtc.advertise_internal_ip: true (new in the config package pinned by v1.13.7) on a use_external_ip: true SFU, some participants connect and publish normally but receive no downlink media at all: the SFU creates the downtrack and the publisher keeps sending, yet zero frames reach the subscriber. Removing the option restored downlink immediately. Not root-caused; reporting because it blocks the obvious workaround for Go SDK participants behind NAT (see https://github.com/livekit/livekit/issues/4931).

Server

  • Version: v1.13.7
  • Environment: Kubernetes on AWS, hostNetwork SFU pods, rtc.use_external_ip: true, rtc.interfaces.includes set to the primary interface, fixed udp_port, tcp_port: 0. The only candidate-list change with the option is an extra private host 10.x.x.x:<udp_port> candidate on the same socket, appended next to the public one.

Client

  • Python SDK 1.1.13: every session on the flagged SFU pods hit a 120 s no-frame timeout (171/171 sessions OK on identical pods without the option).
  • JS SDK: clients on some networks were affected (session counts up 2x with much shorter sessions, consistent with retries); JS clients on other networks and all Rust-SDK (libwebrtc) participants were unaffected.

To Reproduce

  1. livekit-server v1.13.7 with use_external_ip: true and advertise_internal_ip: true.
  2. Publish from one participant, subscribe from a Python SDK 1.1.13 participant over the internet.
  3. Subscriber connects, publisher stats show frames sent, subscriber receives none.

Expected behavior

Participants that cannot reach the private candidate ignore it and keep receiving media over the public one.

Additional context

Observed on two independent clusters within minutes of the rollout, with fresh API keys; reverted the same day. We can collect ICE candidate pair logs from the SFU and the Python client if useful.

主要语言
Go
星标
21.3k
派生
2.4k
平均合并
17 小时 59 分钟
30 天内合并 PR
74

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

livekit/livekit 的其他 Issue

查看 livekit/livekit 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。