camera -> capture -> encode -> server ---> client -> decode -> display