sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.31k stars 347 forks source link

WebRTC not generating offer properly #227

Open ziahamza opened 6 years ago

ziahamza commented 6 years ago

The webrtc webrtcstreamer example with the latest pre-build (https://raw.githubusercontent.com/sourcey/webrtc-precompiled-builds/master/webrtc-18252-6294a7e-linux-x64.tar.gz) on linux ubuntu are broken right now.

The browser shows blank screen, and libsourcey is waiting to get an offer from the base WebRTC library. (looking at the logs, in webrtc/peer.cpp, _peerConnection->CreateOffer(...) is called but the onSuccess is never called back by the WebRTC base library to continue. The example was run as is, and not changed at all.

rkluwen commented 5 years ago

I'm having the same problem. I'm just posting a message here, so I will get notified if there's any progress made on this. Let me know if I can help with this in some way.

By the way, I'm using webrtc-22215-ab42706-linux-x64.tar.gz

[edit, solved]

In my case, I didn't specify enough parameters to the cmake build step. I added them all as specified in the docs and now it works.