File tree Expand file tree Collapse file tree 5 files changed +13
-3
lines changed Expand file tree Collapse file tree 5 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :/home/lib
3
3
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
Original file line number Diff line number Diff line change @@ -16,4 +16,5 @@ export AR=${CROSSPREFIX}ar
16
16
17
17
make clean
18
18
make || exit 1
19
- cp ./h264grabber ../../bin/
19
+ cp ./h264grabber ../../bin/
20
+ arm-linux-gnueabihf-strip ../../../bin/h264grabber
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ TESTPROGS_DIR = testProgs
50
50
MEDIA_SERVER_DIR = mediaServer
51
51
52
52
PROXY_SERVER_DIR = proxyServer
53
+ .PHONY: all livemedia clean
53
54
54
55
all: livemedia rRTSPServer
55
56
Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ make clean
20
20
make || exit 1
21
21
cp ./rRTSPServer ../../../bin/ || exit 1
22
22
23
- arm-linux-gnueabihf-strip ../../../bin/* || exit 1
23
+ arm-linux-gnueabihf-strip ../../../bin/rRTSPServer || exit 1
Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ echo "--------------------------insmod end--------------------------"
156
156
ifconfig wlan0 up
157
157
ethmac=d2:` ifconfig wlan0 | grep HWaddr| cut -d' ' -f10| cut -d: -f2-`
158
158
ifconfig eth0 hw ether $ethmac
159
+ # CUSTOM MAC ETH0
160
+ # ifconfig eth0 hw ether 08:00:00:00:00:01
159
161
ifconfig eth0 up
160
162
161
163
# echo "/tmp/sd/core.%e.%p" > /proc/sys/kernel/core_pattern
@@ -185,3 +187,9 @@ echo "--------------------------insmod end--------------------------"
185
187
/home/app/localbin/busybox telnetd &
186
188
# start ftp
187
189
/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
You can’t perform that action at this time.
0 commit comments