send jpeg data as compressed chunks
cancel animation frame request if new jpeg is coming before it could be displayed