Copyright © 2012 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I'm using the actionscript API to login but when I do it I always get an error:
"Error #2032: Stream Error. URL: http://174.143.151.19/kalturaCE/restserver.php?service=session&action=start"
Here is how I do it:
Also as a side question my handler for KalturaEvent.FAILED never gets called even though I know it's failing (from the Debugger) ... I'm new to actionscript -- am I setting up the handlers properly?
Thanks!
Hi, this is not a bug, but a simple miss-use of the client. the way it should be done is as follow:
private function onSessionStart( event : KalturaEvent ) : void
{
//do something here...
}
private function onFailed( event : KalturaEvent ) : void
{
//do something here...
}
Okay -- the part I was missing was that "restserver.php" should be api_v3/index.php
it works now.
I think this just a flat out bug ... there is no restserver.php anywhere to be found..! probably a leftover/byproduct from the hosted version they have. This doesn't work if you use your own hosting.
A workaround I did: just used the php client libs to make the calls then just loaded the php file from the web.