MikeParks
04-12-2010, 06:53 AM
It's been a while since I've been able to peek in here. Feels weird being on this side of things, though. Anyway...
It seems that Flash 10 and onward contains a new method for pausing streams. When I pause a RTMP stream on my ES-obtained NetStream object using Flash 10, it appears that my connection to the server is terminated. Using Wireshark, I noticed that instead of the normal "pause" function one would expect to be passed, Flash 10 now sends a "pauseRaw" function under the surface. After a bit of research, I've come to find out that the prototype looks something like this:
function pauseRaw(pausePlayback:Boolean, position:Number)
Also, when checking my ES log, the following can be found:
java.lang.UnsupportedOperationException: Unsupported function pauseRaw on destination 2
at com.electrotank.electroserver4.protocol.rtmp.Strea mDestinationHandler.onEvent(StreamDestinationHandl er.java:89)
at com.electrotank.electroserver4.protocol.rtmp.Flash ComIoHandler.messageReceived(FlashComIoHandler.jav a:73)
...
Now, I'm in the process of writing this app to show off to potential investors so I can take some liberties to work around this. I'm going to continue streaming in the background and just take a current snapshot of the video state before my "pause" is triggered. Just figured I should bring this to your attention now before the next version.
It seems that Flash 10 and onward contains a new method for pausing streams. When I pause a RTMP stream on my ES-obtained NetStream object using Flash 10, it appears that my connection to the server is terminated. Using Wireshark, I noticed that instead of the normal "pause" function one would expect to be passed, Flash 10 now sends a "pauseRaw" function under the surface. After a bit of research, I've come to find out that the prototype looks something like this:
function pauseRaw(pausePlayback:Boolean, position:Number)
Also, when checking my ES log, the following can be found:
java.lang.UnsupportedOperationException: Unsupported function pauseRaw on destination 2
at com.electrotank.electroserver4.protocol.rtmp.Strea mDestinationHandler.onEvent(StreamDestinationHandl er.java:89)
at com.electrotank.electroserver4.protocol.rtmp.Flash ComIoHandler.messageReceived(FlashComIoHandler.jav a:73)
...
Now, I'm in the process of writing this app to show off to potential investors so I can take some liberties to work around this. I'm going to continue streaming in the background and just take a current snapshot of the video state before my "pause" is triggered. Just figured I should bring this to your attention now before the next version.