Android doesn't have a direct mechanism for streaming video from the Camera. This is a custom implementation that can packetize an H.264 video source from an android device on the fly.