File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 7
7
if __name__ == "__main__" :
8
8
client = getKetClient ("ket" , "cn-beijing-6" ,use_ssl = False )
9
9
10
- uniqname = 'mytest '
11
- presetname = 'testpreset '
12
- appname = 'live '
13
- description = 'just a demo '
10
+ uniqname = 'xxxx '
11
+ presetname = 'xxxx '
12
+ appname = 'xxxx '
13
+ description = 'xxxx '
14
14
presettype = 4
15
- streamid = 'myteststreamid '
16
- taskid = 'd41d8cd98f00b204e9800998ecf8427e '
15
+ streamid = 'xxxx '
16
+ taskid = 'xxxx '
17
17
outpull = 1
18
- srcurl = "rtmp://qa-ws.test-rtmplive.ks-cdn.com/live/20160819 "
18
+ srcurl = "xxxx "
19
19
20
20
# 删除模板
21
21
#res = client.DelPreset(App=appname, UniqName=uniqname, Preset=presetname)
115
115
"App" : appname ,
116
116
"StreamID" : streamid ,
117
117
"Preset" : presetname ,
118
- "PubDomain" : "test.uplive.ksyun.com " ,
118
+ "PubDomain" : "xxxx " ,
119
119
"DurationHour" :168 ,
120
120
"SrcInfo" : [
121
121
{
122
- "Path" : "http://wangshuai9.ks3-cn-beijing.ksyun.com/ksyun.flv " ,
122
+ "Path" : "xxxx " ,
123
123
"Index" : 0
124
124
}
125
125
]
You can’t perform that action at this time.
0 commit comments