Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Commit 0bca196

Browse files
author
Sjoerd Tieleman
committed
Updated README with "X-Codem-Notify-Timestamp".
1 parent 96bace3 commit 0bca196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Responses:
143143
* `400 Bad Request` - Invalid request (format)
144144
* `503 Service Unavailable` - Transcoder not accepting jobs at the moment (all encoding slots are in use)
145145

146-
The `callback_urls` array is optional and is a list (array) of HTTP endpoints that should be notified once encoding finishes (due to the job being complete or some error condition).
146+
The `callback_urls` array is optional and is a list (array) of HTTP endpoints that should be notified once encoding finishes (due to the job being complete or some error condition). The notification will sent using HTTP PUT to the specified endpoints with the job status. It will also include a custom HTTP header "X-Codem-Notify-Timestamp" that contains the timestamp (in milliseconds) at which the notification was generated and sent. It is best to observe this header to determine the order in which notifications are received at the other end due to network lag or other circumstances that may cause notifications to be received out of order.
147147

148148
The `thumbnail_options` object is optional and contains a set of thumbnails that should be encoded after the transcoding is complete. Thumbnails are captured from the source file for maximum quality. The options for thumbnails include:
149149

0 commit comments

Comments
 (0)