File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88use Upyun \Util ;
99
1010
11- class Video {
11+ class Pretreat {
1212
1313 protected $ url = 'http://p0.api.upyun.com ' ;
1414
Original file line number Diff line number Diff line change @@ -194,17 +194,17 @@ public function purge($urls) {
194194 }
195195
196196 public function processVideo ($ source , $ tasks ) {
197- $ video = new Api \Video ($ this ->config );
197+ $ video = new Api \Pretreat ($ this ->config );
198198 return $ video ->process ($ source , $ tasks );
199199 }
200200
201201 public function queryVideoProcessStatus ($ taskIds ) {
202- $ video = new Api \Video ($ this ->config );
202+ $ video = new Api \Pretreat ($ this ->config );
203203 return $ video ->query ($ taskIds , '/status ' );
204204 }
205205
206206 public function queryVideoProcessResult ($ taskIds ) {
207- $ video = new Api \Video ($ this ->config );
207+ $ video = new Api \Pretreat ($ this ->config );
208208 return $ video ->query ($ taskIds , '/result ' );
209209 }
210210}
You can’t perform that action at this time.
0 commit comments