mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
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` 因此修改
致谢与声明
本文件夹下部分文件提取自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