Commit Graph

270 Commits

Author SHA1 Message Date
ziyue
72caa43c97 主动关闭的流不支持断流续推: #1401 2022-02-09 14:31:40 +08:00
夏楚
c72cf4cbcc
整理命名空间 (#1409)
* feat: remove using namespace mediakit in header files.

(cherry picked from commit d44aeb339a8a0e1f0455be82b21fe4b1b536299f)

* feat: remove using namespace mediakit in FFmpegSource.h

* feat: remove using namespace mediakit in RtpExt.h

* feat: remove using namespace mediakit in header files.

* feat: remove using namespace std in header files.

* feat: remove using namespace std in header files when zltoolkit remove std in header

* 补充命名空间

* 整理命名空间

* 整理命名空间2

* 修复macos ci

* 修复编译问题

* 修复编译问题2

* 修复编译问题3

Co-authored-by: Johnny <hellojinqiang@gmail.com>
Co-authored-by: Xiaofeng Wang <wasphin@gmail.com>
2022-02-02 20:34:50 +08:00
xgj
341459fbf5 fix non rtc push rtc play g711 audio loss 2022-01-24 11:57:24 +08:00
ziyue
09ac333e35 webrtc支持断连续推 2022-01-10 17:43:28 +08:00
ziyue
5a592e6db6 优化循环池性能 2022-01-06 14:30:44 +08:00
ziyue
80d24d2884 修复Windows下编译问题 2021-12-31 14:24:15 +08:00
ziyue
7f6be9e118 Refine: 消除编译警告 2021-12-30 15:28:27 +08:00
ziyue
254bc6889e RTC: 链接迁移后确保老链接及时销毁 2021-12-15 15:55:43 +08:00
xgj
78d014cf51 fix chrome ufrag too short to play webrtc 2021-11-29 16:54:40 +08:00
xiongziliang
f45830cbb8 Refine: 优化webrtc对象追踪机制 2021-11-28 21:43:21 +08:00
xiongziliang
61c55f4030 Refine: 使用socket fd作为日志追踪id 2021-11-28 21:42:54 +08:00
xiongziliang
bc4453015f RTC: 降低rtx重传日志优先级 2021-11-27 22:37:15 +08:00
xiongziliang
8a1f979375 RTC: 修复twcc rtp ext seq回退处理逻辑bug 2021-11-27 22:35:51 +08:00
xiongziliang
8b3a5dda1c Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-11-27 21:34:51 +08:00
xiongziliang
90315ebce5 RTC: srtp发送减少一次内存拷贝,提高webrtc发送性能 2021-11-27 21:30:46 +08:00
xiongguangjie
c1b78629e1
fix rtc play signal stream only audio or video failed (#1239) 2021-11-25 20:42:51 +08:00
xiongziliang
dd30ab22cf Performance: 使用循环池优化webrtc分发性能 2021-11-21 11:36:07 +08:00
wxf
1cba3f4d58 修正 gcc 4.8 下编译问题 2021-11-19 17:04:24 +08:00
ziyue
afdc5e4267 Refine: 优化tcp/udp服务器异常管理断开机制 2021-11-19 15:26:33 +08:00
Johnny
7e6467615c refine: rename TwccContext::checkIfNeedSendTwcc to TwccContext::needSendTwcc. 2021-11-19 11:46:10 +08:00
Johnny
da0a7219e9 refactor: 梳理 rtx 处理逻辑 2021-11-19 11:46:10 +08:00
ziyue
fb97c2139a Refine: 优化webrtc sdp处理代码 2021-11-18 21:36:10 +08:00
ziyue
daa06ffd4f Refine: 精简webrtc sdp生成ssrc line相关代码 2021-11-18 21:25:14 +08:00
johzzy
f7963a9032
调整 addSSRCItem 函数 (#1224)
* update readme.

* refactor(sdp): update addSSRCItem.

* refactor(sdp): remove addSSRCItem.

* refactor(sdp): 调整逻辑,生成a=ssrc-group:FID字段
2021-11-18 20:55:18 +08:00
ziyue
950d957c86 RTC: 删除过多stun包日志 2021-11-15 10:40:31 +08:00
ziyue
a7d6e2ba38 RTC: webrtc偏好音视频codec可配置(#1214) 2021-11-15 10:33:16 +08:00
ziyue
6d384c4a1e 修复webrtc推流播放鉴权广播参数类型不匹配导致的bug 2021-10-21 11:05:15 +08:00
ziyue
7c016ad14b Merge branch 'master' of github.com:ZLMediaKit/ZLMediaKit 2021-10-20 17:02:26 +08:00
ziyue
758f1b414e webrtc是否允许发送rtp逻辑移至基类 2021-10-20 16:58:59 +08:00
夏楚
73aed907e7
Update readme.md 2021-10-20 14:49:56 +08:00
ziyue
5ee9b69568 webrtc新增自定义插件模式 2021-10-19 15:23:12 +08:00
ziyue
a3177de658 修复webrtc日志相关编译问题 2021-10-18 17:47:16 +08:00
ziyue
4dcac10b3a 修复webrtc echo test无法在chrome上使用的问题 2021-10-18 17:35:14 +08:00
ziyue
1a5fd824dd mediasoup移植代码开启日志打印 2021-10-18 16:02:41 +08:00
ziyue
9433a0c383 重写webrtc sdp校验逻辑,确保无有效track时抛异常:#1157 2021-10-16 16:46:05 +08:00
ziyue
d2a9878557 删除多余空行 2021-10-16 11:04:49 +08:00
ziyue
34365a2f8f 新增webrtc echo test双向会话示例 2021-10-16 10:52:28 +08:00
ziyue
f0e896a5e2 双向会话时,确保收发ssrc一致 2021-10-16 10:51:48 +08:00
ziyue
85fec6da0b 整理WebRtcSession代码 2021-10-16 10:29:00 +08:00
ziyue
8c1caeff50 合并pr:#1163 2021-10-16 10:25:23 +08:00
Johnny
25a1434e00 进一步改善 WebRtcTransportImp 的生命周期逻辑。 2021-10-15 18:56:49 +08:00
ziyue
efa839c60b 确保完全忽略webrtc客户端不支持的rtp 2021-10-15 17:37:51 +08:00
ziyue
82b78f4544 完善webrtc对象追踪相关日志 2021-10-15 17:14:59 +08:00
ziyue
7f3f47abbb 提取webrtc推流、播放代码为单独的派生类 2021-10-15 16:27:17 +08:00
ziyue
8531b5e1cb webrtc codec类型不支持时,设置为inactive类型 2021-10-15 16:15:23 +08:00
Johnny
638ef8c731 Refine: 调整 WebRtcSession::getPoller 静态函数为 QueryPollerByBuffer 全局函数,以改善其他 getPoller 同名函数可读性。 2021-10-15 11:21:10 +08:00
Johnny
c98e85caec 增加 RtcpContextForSend/RtcpContextForRecv作为RtcpContext子类 2021-10-15 11:21:10 +08:00
ziyue
e4cdc5f213 webrtc extmap方向匹配失败时,不添加进sdp 2021-10-14 16:22:13 +08:00
ziyue
b2bec61932 webrtc rtp扩展(extmap)支持方向设定 2021-10-14 16:18:15 +08:00
ziyue
aaecd74080 rtc answer sdp存在多个ssrc时,确保最后一个不为空 2021-10-14 15:10:55 +08:00