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 77if __name__ == "__main__" :
88 client = getKetClient ("ket" , "cn-beijing-6" ,use_ssl = False )
99
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 '
1414 presettype = 4
15- streamid = 'myteststreamid '
16- taskid = 'd41d8cd98f00b204e9800998ecf8427e '
15+ streamid = 'xxxx '
16+ taskid = 'xxxx '
1717 outpull = 1
18- srcurl = "rtmp://qa-ws.test-rtmplive.ks-cdn.com/live/20160819 "
18+ srcurl = "xxxx "
1919
2020 # 删除模板
2121 #res = client.DelPreset(App=appname, UniqName=uniqname, Preset=presetname)
115115 "App" : appname ,
116116 "StreamID" : streamid ,
117117 "Preset" : presetname ,
118- "PubDomain" : "test.uplive.ksyun.com " ,
118+ "PubDomain" : "xxxx " ,
119119 "DurationHour" :168 ,
120120 "SrcInfo" : [
121121 {
122- "Path" : "http://wangshuai9.ks3-cn-beijing.ksyun.com/ksyun.flv " ,
122+ "Path" : "xxxx " ,
123123 "Index" : 0
124124 }
125125 ]
You can’t perform that action at this time.
0 commit comments