Skip to content

Commit 822918f

Browse files
committed
Edit RTSP make
1 parent ef008f1 commit 822918f

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

bin/startONVIF.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/lib
33

4-
./onvif_srvd --model KEYKE --manufacturer KEYKE --firmware_ver 0.1.7 --hardware_id UffX --serial_num XXX --ifs eth0 --port 80 --scope onvif://www.onvif.org/Profile/S --name Profile_0 --width 640 --height 360 --url rtsp://%s/ch0_0.h264 --type H264
4+
./onvif_srvd --model KEYKE --manufacturer KEYKE --firmware_ver 0.1.7 --hardware_id UffX --serial_num XXX --ifs wlan0 --port 80 --scope onvif://www.onvif.org/Profile/S --name Profile_0 --width 640 --height 360 --url rtsp://%s/ch0_0.h264 --type H264

src/h264grabber/compile.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ export AR=${CROSSPREFIX}ar
1616

1717
make clean
1818
make || exit 1
19-
cp ./h264grabber ../../bin/
19+
cp ./h264grabber ../../bin/
20+
arm-linux-gnueabihf-strip ../../../bin/h264grabber

src/rRTSPServer/Makefile.rRTSPServer

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ TESTPROGS_DIR = testProgs
5050
MEDIA_SERVER_DIR = mediaServer
5151

5252
PROXY_SERVER_DIR = proxyServer
53+
.PHONY: all livemedia clean
5354

5455
all: livemedia rRTSPServer
5556

src/rRTSPServer/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ make clean
2020
make || exit 1
2121
cp ./rRTSPServer ../../../bin/ || exit 1
2222

23-
arm-linux-gnueabihf-strip ../../../bin/* || exit 1
23+
arm-linux-gnueabihf-strip ../../../bin/rRTSPServer || exit 1

test/init.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ echo "--------------------------insmod end--------------------------"
156156
ifconfig wlan0 up
157157
ethmac=d2:`ifconfig wlan0 |grep HWaddr|cut -d' ' -f10|cut -d: -f2-`
158158
ifconfig eth0 hw ether $ethmac
159+
#CUSTOM MAC ETH0
160+
#ifconfig eth0 hw ether 08:00:00:00:00:01
159161
ifconfig eth0 up
160162

161163
#echo "/tmp/sd/core.%e.%p" > /proc/sys/kernel/core_pattern
@@ -185,3 +187,9 @@ echo "--------------------------insmod end--------------------------"
185187
/home/app/localbin/busybox telnetd &
186188
#start ftp
187189
/home/app/localbin/busybox tcpsvd -vE 0.0.0.0 21 /home/app/localbin/busybox ftpd -w / &
190+
191+
#Start RTSP and ONVIF on port 80
192+
#cd /home/app/localbin
193+
#./startRTSP.sh &
194+
#./startONVIF.sh &
195+
#cd /home/app

0 commit comments

Comments
 (0)