I'm trying to use the bitmap.draw() method to copy a frame of video (or more) however, to do this with an RTMP stream, you have to disconnect and then reconnect the netstream.
See the snipplr link:
Is there a simple way to do this using osmf? The snippet uses an FLV playback component, I however am using the MediaPlayer class...
Seems like the problem boils down to "how do I access the Video object and the NetStream?" There are a number of threads which explain how to access the NetStream, here are a couple:
To access the Video, just get the DisplayObject from MediaPlayer and cast to Video:
var video:Video = mediaPlayer.displayObject as Video;
From there, you should be able to call Video.attachNetStream().