[SabreAMF] SabreAMF_Client Red5/lcds
Daniel Rossi
spam at electroteque.org
Fri Sep 28 08:50:47 PDT 2007
AMF0 array type expected but found 17
Its prob not working on the red5 end maybe is there a way to check
that ?
Message: Buffer underrun at position: 0. Trying to fetch 1 bytes
$result = $client->sendRequest('myService.getToken',new
SabreAMF_AMF3_Wrapper(array
('username'=>'admin','password'=>'secretpassword')));
On 29/09/2007, at 1:37 AM, Evert | Rooftop wrote:
> Daniel Rossi wrote:
>> Hi for some reason the AMF wrapper wont work with a service in
>> Red5. How have you encoded the array for AMF3 if you are using
>> that ? Next is to get the service under ssl as my system in php
>> is calling to receive a token service to send along with the
>> flash client. Its only half done yet still trying to work out the
>> acegi security / tokens / session stuff :)
>>
>>
> Hi Daniel/Darren,
>
> The client class could definitely use some love. The api is a bit
> clunky, and I think I can improve it here and there..
>
> e.g. :
>
> $client = new SabreAMF_Client($gatewayUrl,$serviceName, /* specify
> amf0/3 encoding here */ );
> $result = $client->method($arg1,$arg2);
>
> But if there's bugs, those should obviously be solved first. Is
> there any way one of you guys could setup a test-bed so I can see
> whats going on? Or is this a problem with red5 and not SabreAMF?
>
> Evert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/sabreamf_osflash.org/attachments/20070929/14998cd3/attachment.html
More information about the sabreamf
mailing list