Stream game engine live video frames to network socket?

I want to stream the frames of blender game engine rendering output over a socket in realtime to a network receiver. Is there something in BGE that i can use already? How can i access the frames using Python? I saw there is a record video option for the games engine, but do i have access to this using python?