MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / get_server_clock

Function get_server_clock

ffserver.c:2205–2209  ·  view source on GitHub ↗

return the server clock (in us) */

Source from the content-addressed store, hash-verified

2203
2204/* return the server clock (in us) */
2205static int64_t get_server_clock(HTTPContext *c)
2206{
2207 /* compute current pts value from system time */
2208 return (cur_time - c->start_time) * 1000;
2209}
2210
2211/* return the estimated time at which the current packet must be sent
2212 (in us) */

Callers 1

http_send_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected