ZF-5391: Flash Media Server 3 - Zend Amf
Description
Asked Wade and he asked me to shoot it as a bug.
I've been trying to use serverside remoting in FMS3 with ZendAMF but no luck. I get "onStatus>info.code: Client.Header.BadVersion" in FMSLiveLog
But when i try to use the samegateway with Flex there is np and eveything works smooth.
Thought it might be smthing related to amf version but FMS3 should also use AMF3?
Comments
Posted by Erik Scholten (x_ile) on 2009-04-16T07:41:06.000+0000
I think this issue is indeed FMS3 related. when I checked the $HTTP_RAW_POST_DATA ( php://input ) and FMS3 reports its objectEncoding version as 0x01 not 0x00 or 0x03. It could be a bug or part of the FMS failsave for connecting to AMF0 encoded servers I don't know.
Anyways, added a check at class Zend_Amf_Request at function readMessage solved it for me.
Hope this helps.
Posted by Wade Arnold (wadearnold) on 2009-05-11T20:24:26.000+0000
Thanks for the code sample. Will be added to the next mini release.