Live vedio streaming

i have seen in some website they does live vedio streaming to the website. i would like to know how they does it?