This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTPPort 8888 | |
HTTPBindAddress 0.0.0.0 | |
MaxHTTPConnections 2000 | |
MaxClients 1000 | |
MaxBandwidth 1000000 | |
CustomLog - | |
<Feed feed1.ffm> | |
File /tmp/feed1.ffm | |
FileMaxSize 20M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!-- | |
Enable RTMP feature by | |
Step 1. ssh into camera | |
Step 2. paste below command into terminal | |
echo createService ip=0.0.0.0 port=1935 protocol=inboundRtmp | nc 127.0.0.1 1112 -w 1 -i 1 | |
Then replace it with corresponding IP address of your UVC | |
<source src="rtmp://192.168.1.20:1935/live/s0" type='rtmp/mp4'> | |
--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env expect | |
# Description: | |
# This tool aims to achieve the "auto-start script" upon device reboot or power lost, | |
# since there's no ready auto-start hook at post-init stage for UVC | |
# Installation: | |
# Install "expect", "netcat" and "sshpass" first if your Linux distribution don't have it ready | |
# $ sudo apt-get install expect sshpass netcat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env expect | |
# Description: | |
# This tool aims to achieve the "auto-start script" upon device reboot or power lost, | |
# since there's no ready auto-start hook at post-init stage for UVC | |
# Installation: | |
# Install "expect", "netcat" and "sshpass" first if your Linux distribution don't have it ready | |
# $ sudo apt-get install expect sshpass netcat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc -DUSE_MMAP=0 tmp/rss.c && ./a.out | |
rss 360448 | |
============== | |
rss 360448 | |
rss 1429504 | |
rss 552960 | |
============== | |
rss 552960 | |
rss 1359872 | |
rss 1359872 |
OlderNewer