Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没有成功建立data-channel #10

Open
LiangJunqiang opened this issue Oct 23, 2023 · 0 comments
Open

没有成功建立data-channel #10

LiangJunqiang opened this issue Oct 23, 2023 · 0 comments

Comments

@LiangJunqiang
Copy link

基于您的src/data-channel/main.cpp,修改过时接口调用并增加输出后运行结果如下:

PS E:\projects\WebRTC\src> .\out\Debug\Windows-x64\data_channel_demo.exe
A creating offer...
A created SDP
A set local description and send to peer
B received peer SDP
B create answer
B created SDP
B set local description and send to peer
A received peer SDP
A collected candidate and send to peer
B received ice candidate and add candidate
B collected candidate and send to peer
A received ice candidate and add candidate
A collected candidate and send to peer
B received ice candidate and add candidate
B collected candidate and send to peer
A received ice candidate and add candidate
A collected candidate and send to peer
B received ice candidate and add candidate
B collected candidate and send to peer
A received ice candidate and add candidate
A collected candidate and send to peer
B received ice candidate and add candidate
B collected candidate and send to peer
A received ice candidate and add candidate
A collected candidate and send to peer
B received ice candidate and add candidate
B collected candidate and send to peer
A received ice candidate and add candidate

奇怪的是一直没有调用OnStateChange()和OnDataChannel(),即没有成功创建data channel,可能也没有成功创建peerconnection。暂时不知道是什么问题,希望得到帮助,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant