mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 04:08:57 +08:00
22f5f56130
rtc 中的sdp ufrag 只能有数字与字母组成,不能包含其他符号(根据RFC 5245),包含 _ + = - , 在chromium 项目中有人提出过,详情见( https://crbug.com/1053756 )。chrome 也能正常处理_ + = - 等符号,但是在日志中会有警告如下 `[WARNING:transport_description.cc(32)] '-', '=', '#' and '-' are not valid ice-char and thus not permitted in ufrag or pwd. This is a protocol violation that is permitted to allow upgrading but will be rejected in the future. See https://crbug.com/1053756` 因此修改 |
||
---|---|---|
.. | ||
answer.sdp | ||
CMakeLists.txt | ||
DtlsTransport.cpp | ||
DtlsTransport.hpp | ||
IceServer.cpp | ||
IceServer.hpp | ||
janus_answer.sdp | ||
janus_offer.sdp | ||
logger.h | ||
Nack.cpp | ||
Nack.h | ||
offer-simulcast.sdp | ||
offer.sdp | ||
readme.md | ||
RtpExt.cpp | ||
RtpExt.h | ||
SctpAssociation.cpp | ||
SctpAssociation.hpp | ||
Sdp.cpp | ||
Sdp.h | ||
SrtpSession.cpp | ||
SrtpSession.hpp | ||
StunPacket.cpp | ||
StunPacket.hpp | ||
TwccContext.cpp | ||
TwccContext.h | ||
Utils.hpp | ||
WebRtcEchoTest.cpp | ||
WebRtcEchoTest.h | ||
WebRtcPlayer.cpp | ||
WebRtcPlayer.h | ||
WebRtcPusher.cpp | ||
WebRtcPusher.h | ||
WebRtcSession.cpp | ||
WebRtcSession.h | ||
WebRtcTransport.cpp | ||
WebRtcTransport.h |
致谢与声明
本文件夹下部分文件提取自MediaSoup ,分别为:
-
ice相关功能:
- IceServer.cpp
- IceServer.hpp
- StunPacket.cpp
- StunPacket.hpp
- Utils.hpp
-
dtls相关功能:
- DtlsTransport.cpp
- DtlsTransport.hpp
-
srtp相关功能:
- SrtpSession.cpp
- SrtpSession.hpp
-
datachannel相关功能:
- SctpAssociation.cpp
- SctpAssociation.hpp
以上源码有一定的修改和裁剪,感谢MediaSoup开源项目及作者, 用户在使用本项目的同时,应该同时遵循MediaSoup的开源协议。
同时,在此也感谢开源项目easy_webrtc_server 及作者, 在集成MediaSoup相关代码前期,主要参考这个项目。
另外,感谢big panda 开发并贡献的webrtc js测试客户端(www/webrtc目录下文件), 其开源项目地址为:https://gitee.com/xiongguangjie/zlmrtcclient.js