New RTMP connector daemon mode

This commit is contained in:
Thulinma 2010-11-08 02:25:11 +01:00
parent fb4ddbba8c
commit ee3973a8c6
4 changed files with 95 additions and 23 deletions

View file

@ -16,8 +16,8 @@ $(OUT): $(OBJ) chunkstream.cpp parsechunks.cpp handshake.cpp crypto.cpp amf.cpp
$(CC) $(LIBS) -o $(OUT) $(OBJ)
clean:
rm -rf $(OBJ) $(OUT) Makefile.bak *~
run-test: $(OUT)
rm -rf ./meh
mkfifo ./meh
cat ./meh &
nc -l -p 1935 -e './Connector_RTMP 2>./meh'
install: $(OUT)
-service Conn_RTMP stop
cp -f ./$(OUT) /usr/bin/
cp -f ./Conn_RTMP /etc/init.d/
service Conn_RTMP start