Skip to main content

Module wait

Module wait 

Source
Expand description

Shared server waits and client allowances. Each is how long the server may take before it answers, not counting the round trip.

Constants§

PLAYBACK
Starting a playback, or changing its subtitle: a probe, and for HLS of a copied video every keyframe of the file, which the server bounds only at 10 minutes. Two minutes is longer than a player should spin; past it the user is better told.
PROBE
A request that may run ffprobe on the file (Prober::DEFAULT_TIMEOUT).
READ
A read past what an encode has written, or of a subtitle still being read as text (the server’s READ_WAIT).
SIGN_IN
AwaitDeviceSignIn (the server’s device_sign_in::AWAIT).
SUBTITLE_SITE
A request the server answers from a subtitle site: a search, or a sign-in, a download and the file. Each call to the site has 10 seconds.