Again, I wouldn't put these in this name space.

Why not just pass these as arguments to `outputVideoCode` since it's the only function that uses them? Then you can also ditch those accessor methods you made (`getVideoMp4` and the like).

Also, instead of doing that timeout trick, you should call `outputVideoCode` directly when the remote callback is fired. The way you have it set up now, if the remote call doesn't return before the timeout fires (100ms), it won't update properly! :/