Why are you looking for streaming video using Socket? Performance will be much less than what Adobe's built-in classes offer for this.
To stream audio and video to Flash, you need an FMS server. Red5 is an open source server that allows this (e.g. Maciek). However, serving your own real-time video over flash.net.Socket and then decoding it will lead to terrible performance. In fact, the only way to stream video in a performance-acceptable way would be to use flash.net.NetConnection . It uses the RTMP protocol for streaming media.
In addition, if it does not support the streaming video you are looking for, look at serving these video files through a regular HTTP server and FLV format .
source share