goodow / GDLiveStreaming

Live audio and video manipulation pipeline
https://www.youtube.com/channel/UCdjnlV-kzI3pEldEZRjY9aQ/live
MIT License
298 stars 113 forks source link

Capture & Stream screen #4

Open ashokrkm opened 8 years ago

ashokrkm commented 8 years ago

Can you please support capturing screen of IOS with replay kit, so that one can stream screen through RTMP.

bellchen commented 8 years ago

you can use this function - (void) addPixelBufferSource: (UIImage*) image withRect: (CGRect) rect; to stream your captured image

larrytin commented 8 years ago

Can ReplayKit outputs CVPixelBufferRef? If so, pass CVPixelBufferRef like this to push the stream.

ashokrkm commented 8 years ago

@larrytin @bellchen can you please add an example on how to do that, so that the frame rate does not create any problem.