Implemented WebRTC

This commit is contained in:
roxlu 2018-06-01 09:19:32 +02:00 committed by Thulinma
parent dce4cddadd
commit 7e8eb634e6
20 changed files with 6712 additions and 1 deletions

30
scripts/webrtc_run.sh Executable file
View file

@ -0,0 +1,30 @@
#!/bin/bash
cd ${PWD}/../build
set -x
#export MIST_CONTROL=1
make MistOutWebRTC
if [ $? -ne 0 ] ; then
echo "Failed to compile."
exit
fi
#-fsanitize=address
#export MALLOC_CHECK_=2
# valgrind --trace-children=yes
# ASAN_OPTIONS=symbolize=1 ASAN_SYMBOLIZER_PATH=$(shell which llvm-symbolizer)
if [ 0 -ne 0 ] ; then
reset && valgrind --trace-children=yes ./MistOutHTTPS \
--port 4433 \
--cert ~/.ssh/certs/arch680.rox.lu.crt \
--key ~/.ssh/certs/arch680.rox.lu.key \
--debug 10
else
reset && ./MistOutHTTPS \
--port 4433 \
--cert ~/.ssh/certs/arch680.rox.lu.crt \
--key ~/.ssh/certs/arch680.rox.lu.key \
--debug 10
fi