Closed michaelfig closed 7 years ago
Hi Michael
I just built and ran the demo but wasn't able to reproduce your error.
I'm using the following command to build libsourcey:
cmake .. -DCMAKE_BUILD_TYPE=DEBUG -DBUILD_SHARED_LIBS=OFF \
-DBUILD_MODULES=ON -DBUILD_APPLICATIONS=ON \
-DBUILD_TESTS=OFF -DBUILD_SAMPLES=OFF -DBUILD_SAMPLES_webrtc=ON \
-DWITH_FFMPEG=ON -DWITH_WEBRTC=ON -DENABLE_LOGGING=ON \
-DBUILD_MODULE_base=ON -DBUILD_MODULE_av=ON \
-DBUILD_MODULE_crypto=ON -DBUILD_MODULE_http=ON \
-DBUILD_MODULE_json=ON -DBUILD_MODULE_net=ON \
-DBUILD_MODULE_socketio=ON -DBUILD_MODULE_symple=ON \
-DBUILD_MODULE_util=ON -DBUILD_MODULE_webrtc=ON \
-DWEBRTC_ROOT_DIR=/home/kam/sourcey/webrtcbuilds/out/webrtc-17657-02ba69d-linux-x64
And the relevant platform information:
-- Platform:
-- Host: Linux 3.13.0-105-generic x86_64
-- CMake: 3.2.2
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/make
-- Configuration: DEBUG
--
-- C/C++:
-- Built as dynamic libs?: NO
-- C++ Compiler: /usr/bin/c++ (ver 6.2.0)
If you can provide any extra information to help me reproduce the error that would be a big help.
Using your build command for libsourcey, I don't get the errors anymore. Maybe this is some issue due to mixing static and shared libraries, or something.
Now I just have to configure my TURN server, but I'm back on familiar ground.
Thanks for your help, Michael.
Great :)
On 28 June 2017 at 04:04, Michael FIG notifications@github.com wrote:
Using your build command for libsourcey, I don't get the errors anymore. Maybe this is some issue due to mixing static and shared libraries, or something.
Now I just have to configure my TURN server, but I'm back on familiar ground.
Thanks for your help, Michael.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sourcey/libsourcey/issues/157#issuecomment-311536120, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGKDBTq-rmK0D4bTrxiDCq-_QPWf9-fks5sIbTHgaJpZM4Nx6G4 .
Found the issue: I needed -DCMAKE_BUILD_TYPE=Debug
when building my project, or the Release version of libwebrtc_full.a was used, which caused this runtime error.
It also works with -DCMAKE_BUILD_TYPE=Release. It seems like I have the same issue when CMAKE_BUILD_TYPE is not specified.
Hi,
I'm running the webrtcstreamer program, and when I connect to the nodejs app, I get the following in the web browser:
webrtcstreamer dumps core, which when I get a backtrace, gives the following:
Any help would be appreciated!
Thanks, Michael.