versatica / mediasoup-broadcaster-demo

mediasoup broadcaster demo (libmediasoupclient)
106 stars 65 forks source link

Issue compiling: missing rtc_base/critical_section.h #29

Closed Radagan closed 2 years ago

Radagan commented 2 years ago

I'm trying to compile this demo under macOS using webrtc branch 4606 (m94). It appears there is a missing file. Are we still using 4606 as described in the Mediasoup docs?

cmake . -Bbuild \
-DLIBWEBRTC_INCLUDE_PATH:PATH="~/Development/GitHub/webrtc-checkout/src" \
-DLIBWEBRTC_BINARY_PATH:PATH="~/Development/GitHub/webrtc-checkout/src/out/mac_x64" \
-DOPENSSL_INCLUDE_DIR:PATH="/usr/local/opt/openssl/include" \
-DOPENSSL_ROOT_DIR:PATH="/usr/local/opt/openssl/lib" \
-DCMAKE_USE_OPENSSL=ON
jmillan commented 2 years ago

Hi,

mediasoup-broadcaster-demo needs to be adapted to M94 code. Will try to do it in the next days.

Radagan commented 2 years ago

@jmillan Thank you! No problem.

Radagan commented 2 years ago

@jmillan, Btw, I was looking at this example in the hopes of understanding how to use part of mediasoup as a traditional peer connection solution that could be switched to using mediasoup SFUs. Do you know if this is possible?

The assumption being that it would greatly reduce costs to use peer-to-peer for connections with just two or three users, then switch to SFUs where they are needed.

ibc commented 2 years ago

Please use the forum for questions and avoid direct mentions to authors. Thanks.

Radagan commented 2 years ago

@ibc Sorry, I was just trying to see it this example's purpose was as I understood it--since it doesn't build at this point.

jmillan commented 2 years ago

Demo updated.