Streaming video implemented in R