Commit Graph

102 Commits

Author SHA1 Message Date
ziyue
0b355759de 整理webrtc相关代码命名空间 2022-09-18 21:03:05 +08:00
Dw9
b7ef766701
支持单独的datachannel通道 (#1894)
* 支持单独的datachannel 通道

* 当仅有datachannel时 ,忽略rtp和rtcp超时

* 单独开启datachannel时,通过dtls包维持心跳

Co-authored-by: xiongziliang <771730766@qq.com>
2022-08-20 10:28:19 +08:00
gongluck
0764e48f6c
兼容安卓平台,to_string模板处理pt值 2022-08-18 19:13:22 +08:00
bin-work
2e1a45895a
修改webrtc码率带宽约束字段 (#1771, #1768) 2022-07-07 16:44:42 +08:00
sha-long-ba-si
3a9408bcec
webrtc answer m-lines次序错误 (#1695)
Co-authored-by: james <mrjamesli@126.com>
2022-06-11 12:26:31 +08:00
xiongziliang
b0f0bdb6ae 调整优化webrtc sdp处理相关代码 2022-05-20 22:14:21 +08:00
cqm
2b29e58f71 sdp代码重构, 增加addItem和addAttr 2022-05-18 18:56:09 +08:00
cqm
9d9315d8c6 支持SDP munging方式simulicast 2022-05-18 09:21:21 +08:00
xiongziliang
b0f15c9647 sctp关闭编译时,关闭datachannel相关功能 2022-05-13 20:45:27 +08:00
xiongziliang
1ed793fe97 初步实现webrtc datachannel sdp握手 2022-04-03 17:12:23 +08:00
xiongziliang
03dfcbad36 优化webrtc sdp处理相关代码 2022-04-03 17:10:39 +08:00
xiongziliang
aef2ae65af 优化代码 2022-03-12 19:29:58 +08:00
xiongziliang
b8277974aa webrtc sdp msid不存在时,不添加 2022-03-12 19:27:32 +08:00
zx
cd4e772985
remove dumplicate line rtc_media.type
remove  dumplicate line 

`rtc_media.type = mline.type;`
2022-03-04 16:18:26 +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
xiongguangjie
c1b78629e1
fix rtc play signal stream only audio or video failed (#1239) 2021-11-25 20:42:51 +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
a7d6e2ba38 RTC: webrtc偏好音视频codec可配置(#1214) 2021-11-15 10:33:16 +08:00
ziyue
9433a0c383 重写webrtc sdp校验逻辑,确保无有效track时抛异常:#1157 2021-10-16 16:46:05 +08:00
ziyue
f0e896a5e2 双向会话时,确保收发ssrc一致 2021-10-16 10:51:48 +08:00
ziyue
8531b5e1cb webrtc codec类型不支持时,设置为inactive类型 2021-10-15 16:15:23 +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
043c1bab72 回复rtc sdp时,不拷贝ssrc相关信息 2021-10-14 14:59:37 +08:00
ziyue
acbe99cb43 整理优化webrtc ssrc与simulcast相关代码 2021-10-12 21:26:01 +08:00
Johnny
0f4289a584 Refine(webrtc/sdp): 函数 WebRtcTransport::onCheckSdp() 拆分为WebRtcTransport::onCheckAnswer() 和 RtcSession::checkSdp() 2021-10-12 16:15:37 +08:00
ziyue
d62cdd81b8 webrtc不支持的mline设置为inactive 2021-07-07 17:58:29 +08:00
ziyue
6220db77e8 修复webrtc纯音频推流时不能注册流的bug:#963 2021-07-07 14:47:41 +08:00
ziyue
3165a2f81c 修改服务器版本信息声明相关代码 2021-06-29 11:16:05 +08:00
ziyue
7a02d2c8d6 不支持的rtp方向,answer sdp设置为inactive 2021-06-24 13:09:51 +08:00
wxf
f5786fcba3 兼容 glibc < 2.18
* https://stackoverflow.com/a/8132440/5218590
* https://sourceware.org/bugzilla/show_bug.cgi?id=15366
2021-06-23 10:39:08 +08:00
wxf
5fc5a9ef5f webrtc: 修正 sdp 中 candidate 解析问题
https://datatracker.ietf.org/doc/html/rfc5245#section-15.1
> foundation = 1*32ice-char
2021-06-18 13:36:25 +08:00
ziyue
807f9626d5 webrtc新增对av1的支持 2021-06-16 11:14:10 +08:00
xiongziliang
a84bcec4aa 完善rtp ext处理相关逻辑 2021-05-16 20:56:03 +08:00
xiongziliang
f6eb84b413 添加ssrc相关方法 2021-05-16 12:28:50 +08:00
xia-chu
d4ce5b0091 添加ssrc相关的方法 2021-05-10 17:35:22 +08:00
xia-chu
985fe310b6 extmap改回vector存放 2021-05-10 10:14:42 +08:00
xiongziliang
d74f2ff155 修复remb和twcc开关相关bug 2021-05-08 21:43:27 +08:00
xiongziliang
47dc661bb2 初步兼容simulcast 2021-05-08 20:27:46 +08:00
xiongziliang
826ec33c2c rtx ssrc不强制指定 2021-05-08 19:45:53 +08:00
xia-chu
e81d91988d 完善sdp对ssrc的处理 2021-05-08 18:43:22 +08:00
xia-chu
16fa359cc5 默认不添加无效的codec plan 2021-05-08 15:05:13 +08:00
xia-chu
e84d16213c sdp中添加msid属性 2021-05-08 15:01:30 +08:00
xia-chu
c10296d432 未选中的plan也返回到sdp中 2021-05-08 14:50:19 +08:00
xia-chu
0b8eb6a76f 完善rtp ext解析代码 2021-05-07 17:52:33 +08:00
xia-chu
c5fff23040 extmap改用map存放 2021-05-07 14:08:43 +08:00
xia-chu
cd96267dc8 extmap相关设置改成枚举 2021-05-07 14:02:03 +08:00
xia-chu
f9ebd82e6d 支持更多rtp ext 2021-05-06 10:54:06 +08:00