This host's clock, for a player's behind live

`{"now": <Unix ms>}` on this host's synchronized clock, the clock the ingest gateway stamps frames on. The player syncs to it when the descriptor names it (`time_url`), so behind live does not depend on the viewer's own clock. Any origin may read it. 503 `clock_unsynchronized` while the host's clock is not synchronized.

GET
/v1/time

{"now": <Unix ms>} on this host's synchronized clock, the clock the ingest gateway stamps frames on. The player syncs to it when the descriptor names it (time_url), so behind live does not depend on the viewer's own clock. Any origin may read it. 503 clock_unsynchronized while the host's clock is not synchronized.

Response Body

the time

application/json
  1. response
now?integer

Unix milliseconds

Example Request
curl -X GET 'https://api.nearglass.com/v1/time'
Example Response
{  "now": 0}