Separated video setup and streaming to be exported through socket