Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
streamPushPressure
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李远洪
streamPushPressure
Commits
d975ac0c
Commit
d975ac0c
authored
Dec 30, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了强制pull脚本
parent
733c8040
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
gitPull.sh
gitPull.sh
+4
-0
run.py
run.py
+2
-1
No files found.
gitPull.sh
0 → 100644
View file @
d975ac0c
#! /bin/bash
git fetch
--all
git reset
--hard
origin/master
git pull
\ No newline at end of file
run.py
View file @
d975ac0c
...
...
@@ -26,6 +26,7 @@ def h264FilePushTest():
test
.
setAudioPath
(
"aac/bbb3.aac"
)
test
.
start
()
def
getPressTestObj
():
test
=
FlvPressureTest
()
test
.
setHost
(
"10.100.11.125"
)
...
...
@@ -35,7 +36,7 @@ def getPressTestObj():
test
.
setTerNum
(
3
)
# 要启动的推拉流线程
test
.
setIsOpenPullStream
(
1
)
# 设置是否开启拉流
test
.
setIsShowFrame
(
0
)
# 拉流是否显示预览画面 (压力测试都应该填:0)
test
.
setSendDur
(
0.00
5
)
# 设置socket 发送数据间隔
test
.
setSendDur
(
0.00
7
)
# 设置socket 发送数据间隔
test
.
setFlvPath
(
"flv/aaa3.flv"
)
# 设置视频路劲
test
.
start
()
return
test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment