Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.vscode/
.zed/

# macOS
.DS_Store

# clangd
.cache/
compile_commands.json
Expand All @@ -27,3 +30,7 @@ __pycache__/

# Benchmark results
tools/benchmark_results_*.txt

# iKuai package outputs
ikuai-support/.staging/
ikuai-support/dist/
38 changes: 38 additions & 0 deletions ikuai-support/rtp2httpd/app/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Variables required by the iKuai app market convention.
# CPUS_LIMIT / MEMORY_LIMIT / RESTART are container-oriented and unused by
# this native package, but kept here in case the market validates them.
CPUS_LIMIT=0
MEMORY_LIMIT=0
RESTART=always

HOST_IP=0.0.0.0
APP_PORT_WEB=5140

RTP2HTTPD_VERBOSITY=2
RTP2HTTPD_MAXCLIENTS=20
RTP2HTTPD_WORKERS=1
RTP2HTTPD_UPSTREAM_INTERFACE=
RTP2HTTPD_UPSTREAM_INTERFACE_MULTICAST=
RTP2HTTPD_UPSTREAM_INTERFACE_FCC=
RTP2HTTPD_UPSTREAM_INTERFACE_RTSP=
RTP2HTTPD_UPSTREAM_INTERFACE_HTTP=
RTP2HTTPD_BUFFER_POOL_MAX_SIZE=16384
RTP2HTTPD_UDP_RCVBUF_SIZE=524288
RTP2HTTPD_MCAST_REJOIN_INTERVAL=0
RTP2HTTPD_FCC_LISTEN_PORT_RANGE=
RTP2HTTPD_ZEROCOPY_ON_SEND=0
RTP2HTTPD_RTSP_STUN_SERVER=
RTP2HTTPD_EXTERNAL_M3U=
RTP2HTTPD_EXTERNAL_M3U_UPDATE_INTERVAL=7200
RTP2HTTPD_PLAYER_PAGE_PATH=/player
RTP2HTTPD_STATUS_PAGE_PATH=/status
RTP2HTTPD_HOSTNAME=
RTP2HTTPD_R2H_TOKEN=
RTP2HTTPD_CORS_ALLOW_ORIGIN=
RTP2HTTPD_XFF=0
RTP2HTTPD_HTTP_PROXY_USER_AGENT=
RTP2HTTPD_RTSP_USER_AGENT=
RTP2HTTPD_VIDEO_SNAPSHOT=0
RTP2HTTPD_FFMPEG_PATH=
RTP2HTTPD_FFMPEG_ARGS=
RTP2HTTPD_EXTRA_ARGS=
Empty file.
19 changes: 19 additions & 0 deletions ikuai-support/rtp2httpd/app/config/rtp2httpd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# rtp2httpd 高级配置文件(爱快原生软件包)
#
# 注意:所有可以在爱快应用配置页面(UI)中设置的选项(监听端口、日志级别、
# 上游接口、外部 M3U 等)都会由 scripts/start.sh 以命令行参数传入,
# 优先级高于本文件。在本文件中重复配置这些选项不会生效。
#
# 本文件仅用于 UI 无法覆盖的高级设置,例如 [services] 频道列表。
# 完整配置说明见 https://rtp2httpd.com

[global]
# 保持 UDPxy 兼容地址格式,例如:
# http://<爱快内网IP>:5140/rtp/239.253.64.120:5140
udpxy = yes

[services]
# 可以在此直接粘贴 M3U 播放列表,作为"外部 M3U 地址"的替代方案。
;#EXTM3U
;#EXTINF:-1 group-title="IPTV",CCTV-1
;rtp://239.253.64.120:5140
2 changes: 2 additions & 0 deletions ikuai-support/rtp2httpd/app/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Runtime environment variables loaded by scripts/start.sh after app/.env.
# TZ=Asia/Shanghai
Loading
Loading