File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,31 @@ ApacheHttpClientHandler apacheHttpClientHandler = new ApacheHttpClientHandler(cl
24
24
ApacheHttpClient httpClient = new ApacheHttpClient (apacheHttpClientHandler);
25
25
zencoderClient. setHttpClient(httpClient);
26
26
```
27
- ### Create Output
28
- ``` java
29
- // Add notification email
30
- ZencoderNotification notification = new ZencoderNotification (" test@test.de" );
31
-
32
- ZencoderOutput output = new ZencoderOutput (" test" , " se://test/" );
33
- output. addNotification(notification);
34
27
28
+ ### Create Job
29
+ ``` java
35
30
ZencoderJob job = new ZencoderJob (" http://ca.bitzeche.de/big_buck_bunny_720p_h264.mov" );
36
- job . addOutput(output);
31
+
37
32
// region where the job is processed
38
33
job. setZencoderRegion(ZencoderRegion . EUROPE );
34
+
39
35
// set test mode
40
36
job. setTest(true );
41
37
```
42
38
39
+ ### Create Output
40
+ ``` java
41
+ ZencoderOutput output = new ZencoderOutput (" test" , " se://test/" );
42
+ job. addOutput(output);
43
+ ```
44
+
45
+ ### Create Notification
46
+ ``` java
47
+ // Add notification email
48
+ ZencoderNotification notification = new ZencoderNotification (" test@test.de" );
49
+ output. addNotification(notification);
50
+ ```
51
+
43
52
### Submit Job
44
53
``` java
45
54
client. createJob(job);
You can’t perform that action at this time.
0 commit comments