Commit Graph

95 Commits

Author SHA1 Message Date
mtdxc
6cab65f7b0
支持SDP munging方式simulicast (#1639) 2022-05-18 11:26:57 +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
xia-chu
521d9f906b 完善remb相关控制代码 2021-05-06 10:40:21 +08:00
xia-chu
c77c4cfd4d sdp相关特性暴露成常量 2021-04-30 15:15:35 +08:00
xia-chu
dc2c882994 添加remb开关 2021-04-30 15:08:43 +08:00
xia-chu
726e909601 支持remb控制推流比特率 2021-04-28 15:41:36 +08:00
xia-chu
9396270ce2 添加twcc相关api 2021-04-28 15:07:15 +08:00
xia-chu
2d8ef45e4d 完善fci相关代码 2021-04-26 21:03:04 +08:00
xia-chu
cc5dee0abf 优化sdp fmtp字段处理逻辑 2021-04-15 19:40:17 +08:00