1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-09 15:40:45 +02:00

New version of server:

According to PR: https://github.com/Dafang-Hacks/Main/pull/54
- Reduce video buffers per channel to two
- And enable poolsize fix by default
This commit is contained in:
nik0
2020-04-13 18:05:45 +00:00
parent 18b5efe7d9
commit f5ed7af43a
5 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
[Configuration]
#To save some memory you can deactivate the folowing features
OSD=on
JPEG=on
MOTION=on
POOLSIZE=on
FontFixedWidth=/system/sdcard/fonts/NotoMono-Regular.ttf
FontRegular=/system/sdcard/fonts/NotoSans-Regular.ttf
DetectionScriptOn=/system/sdcard/scripts/detectionOn.sh
DetectionScriptOff=/system/sdcard/scripts/detectionOff.sh
DetectionTracking=/system/sdcard/scripts/detectionTracking.sh
[Video]
# Some video setting when calling SDK
# Frame skip type:
# IMP_Encoder_STYPE_N1X = 0
# IMP_Encoder_STYPE_N2X = 1
# IMP_Encoder_STYPE_N4X = 2
# IMP_Encoder_STYPE_HN1_FALSE = 3
# IMP_Encoder_STYPE_HN1_TRUE = 4
# IMP_Encoder_STYPE_H1M_FALSE = 5
# IMP_Encoder_STYPE_H1M_TRUE = 6
#SkipType=0
# Video quality
# 0 is best, 7 is worst
#Quality=2
# The maximum number of gop occupied by the same scene
#maxSameSceneCnt=6