man2015 / red5phone

Automatically exported from code.google.com/p/red5phone
0 stars 0 forks source link

I want to know that How RTMPUser receieve the RTMP stream published by flash cilent? #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As title, because I am now planning to add the video part in the red5phone.
Is the class PlayNetStream inside the RTMPUser can receive the RTMP 
VideoData already?

In class PlayNetStream, inside the method dispatchEvent(IEvent event):
            if ( rtmpEvent instanceof VideoData ) {
                IoBuffer videoData = ( (IStreamData) 
rtmpEvent ).getData().asReadOnlyBuffer();

Is the videoData can receive the RTMP videoData already?

Thanks,
Vincent 

Original issue reported on code.google.com by vincent1...@gmail.com on 23 Oct 2009 at 8:56

GoogleCodeExporter commented 9 years ago
look at red-screenshare to see how to handle video in RTMPUser class

Original comment by olajide....@gmail.com on 29 Oct 2009 at 8:26