Add live capture.
Change IO structure.