Miau Lightouch
a9e0e1a81e
fix(webrtc): fix GStreamer WHEP interop ( #4720 )
...
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
DockerPy / build (push) Has been cancelled
Linux / build (push) Has been cancelled
Linux_Python / build (push) Has been cancelled
macOS / build (push) Has been cancelled
macOS_Python / build (push) Has been cancelled
Windows / build (push) Has been cancelled
Windows_Python / build (push) Has been cancelled
## Summary
This PR fixes GStreamer interoperability issues during WebRTC/WHEP
negotiation with ZLMediaServer.
GStreamer could fail to establish the connection for two separate
reasons:
1. ZLMediaServer generated a non-compliant ICE `ufrag`. The generated
value contained `_`, which is not a valid ICE character, so GStreamer
rejected the SDP.
2. ZLMediaServer did not correctly handle `bundle-only` offers and could
answer an accepted bundled m-line with `port=0`, which caused the later
WHEP negotiation to fail.
## Changes
- Generate ICE `ufrag` values using ICE-compliant characters only.
- Preserve and handle `a=bundle-only` correctly during SDP parsing and
answer generation.
- Return `port=9` instead of `port=0` for accepted bundled m-lines.
- Add regression coverage for `bundle-only` SDP handling.
- URL-encode `delete_webrtc` query parameters in the returned `Location`
header so ICE-safe identifiers remain round-trippable over HTTP.
## Validation
- Built with WebRTC and SCTP enabled.
- Added regression test: `test_webrtc_regression`
- Verified:
- ICE-safe identifier round-trip through `delete_webrtc`
- `bundle-only` SDP answer generation
2026-04-21 11:37:08 +08:00
PioLing
9863f9c160
Add logo and version information to exe on windows ( #4093 )
2025-01-03 11:33:35 +08:00
xia-chu
4f8127f6f1
消除过多cmake警告
2024-11-29 20:14:32 +08:00
Xiaofeng Wang
06ff8461c7
减少依赖影响范围 ( #4039 )
...
See #4034
2024-11-25 11:22:29 +08:00
a839419160
326b475beb
增加pcap解析工具( #4033 #4034 )
2024-11-22 17:43:15 +08:00
ziyue
13dd8c699b
整理cmake
2022-08-01 16:12:52 +08:00
ziyue
bdd83cf61a
cpp测试程序添加必要编译宏
2022-07-29 18:14:10 +08:00
Xiaofeng Wang
ac378eaaf1
使用统一的编译参数
2022-07-26 00:11:31 +08:00
Xiaofeng Wang
d850846612
cmake: 检查 target 来确认功能是否已启用
2022-07-25 13:52:26 +08:00
Xiaofeng Wang
9d3ead61de
整理 CMakeLists.txt
2022-07-25 00:22:30 +08:00
mtdxc
af08b58d29
cmake项目分组 ( #1431 )
...
重要项目(toolkit和mediakit)增加目录显示
2022-02-17 10:33:42 +08:00
ziyue
5b6ff0af27
完善mingw编译环境的适配
2022-01-11 14:09:57 +08:00
ziyue
750a8fa668
修复关闭webrtc后的编译问题
2021-10-18 20:23:50 +08:00
monktan
004c62bea4
添加k8s部署相关说明
2021-09-13 21:16:22 +08:00
wxf
e679404701
tests: 调整测试程序名称获取方式
2021-07-15 11:15:34 +08:00
ziyue
1b674a6ac2
播放器新增支持音频:#945
2021-06-29 17:47:01 +08:00
DoubleX69
d4b3036446
add:增加Audio子目录及对应的库
2021-06-28 17:51:58 +08:00
夏楚
fae86a9b4b
!11 合帧逻辑 加强判断,防止 SPS PPS VPS 作为一帧,rtmp h264/h265 打包 保证帧内必须有VCL
...
Merge pull request !11 from xiongguangjie/dev
2021-06-28 02:02:49 +00:00
wxf
b026634a3e
未启用 WebRTC 的情况下禁用相关测试用例
2021-06-26 17:10:42 +08:00
xiongguangjie
c0f362af33
for linux compile --start-group and --end-group
2021-06-25 22:03:52 +08:00
doodoocoder
2ae9d7c2ef
当用pkg-config找avcodec与avutil时,应该就AVCODEC_INCLUDE_DIRS,AVUTIL_INCLUDE_DIRS
...
当用pkg-config找avcodec与avutil时,应该就AVCODEC_INCLUDE_DIRS,AVUTIL_INCLUDE_DIRS而不是AVCODEC_INCLUDE_DIR,AVUTIL_INCLUDE_DIR
2020-09-10 13:35:35 +08:00
xiongziliang
dae7516c55
完善对FFmpeg的支持
2020-08-01 10:16:28 +08:00
wxf
2fee173d7a
优先使用 pkg-config 来查找 AV* 库
...
部分主机上 ffmpeg 安装路径不标准, 默认查找方式不方便适应该方式
2020-07-02 16:21:27 +08:00
xiongziliang
e27e7bed4d
合并#57
2019-07-28 20:55:37 +08:00
baiyfcu
20ca0f76cd
修复test_player windows编译错误
2019-07-26 22:56:17 +08:00
xiongziliang
ec190e3273
修复windows编译问题
2019-05-31 12:14:51 +08:00
xiongziliang
bc1a79038c
更新ZLToolKit(完善ssl相关)
2019-04-16 17:25:19 +08:00
xiongziliang
87afd61616
可以自定义选择编译某特性
2019-04-04 11:30:57 +08:00
xiongziliang
33ff630e9b
修复编译问题
2019-04-01 13:30:00 +08:00
xiongziliang
33eb7ef320
整体替换HLS生成代码,支持265
2019-04-01 12:57:33 +08:00
xiongziliang
d1f722939d
自动复制证书至可执行目录
2019-04-01 10:37:11 +08:00
xiongziliang
58b58418d6
无音频时生成静音音频,防止播放器加载画面太慢
...
修复MAC下SDL必须在主线程渲染的问题
2018-06-30 23:02:16 +08:00
xiongziliang
bd04b2e2ab
替换成sdl2
2018-04-17 21:38:13 +08:00
xiongziliang
ee9b6b64da
解决编译错误以及运行期bug
2018-03-21 15:13:33 +08:00
xiongziliang
30aa71cb53
修复编译问题
2018-03-21 11:35:00 +08:00
xiongziliang
473b9356a6
ShellSession跟业务隔离
2017-12-01 11:42:49 +08:00
xiongziliang
d26d484ecf
“添加bom头
2017-10-09 22:11:01 +08:00
xiongziliang
a769d6c284
初步完成Windows下的移植
2017-08-09 18:39:30 +08:00
xiongziliang
e165849c35
提供Android编译支持
2017-06-03 10:52:49 +08:00
xiongziliang
d619296fe5
精简
2017-05-11 22:10:12 +08:00
xiongziliang
a4233bdeb8
添加对mac的支持
2017-05-11 18:03:06 +08:00
xzl
b646355545
添加播放器测试程序
2017-05-08 18:03:43 +08:00
xiongziliang
74d3a75bbb
add test for multi server
2017-05-02 23:43:10 +08:00