Can`t retrieve Clip list

Post your questions and bug-reports about our audio/video streaming add-on based on Red5 Server.

Moderators: Lapo, Bax

Alekz
Posts: 8
Joined: 24 Oct 2012, 17:43

Can`t retrieve Clip list

Postby Alekz » 21 Nov 2012, 17:45

When I try to retrieve clip list, I receive the following message on the log:

Exception: com.smartfoxserver.v2.exceptions.SFSRuntimeException
Message: Request handler not found: 'rb_avClip.list'. Make sure the handler is registered in your extension using addRequestHandler()
Description: Error while handling client request in extension: { Ext: maxredbox, Type: JAVA, Lev: ZONE, { Zone: TesteRedBox }, {} }
Extension Cmd: rb_avClip.list
Alekz
Posts: 8
Joined: 24 Oct 2012, 17:43

Re: Can`t retrieve Clip list

Postby Alekz » 21 Nov 2012, 18:14

I've upgraded both client and server API, and the error persist
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Can`t retrieve Clip list

Postby Bax » 22 Nov 2012, 08:54

Your Extension must "extend" (sorry for the pun) the RedBox Extension. In other words your Extension class declaration should be something like this:

Code: Select all

public class MaxRedBoxExtension extends RedBoxExtension

Of course the RedBoxExtension jar must exist in your Extension's folder.
Paolo Bax
The SmartFoxServer Team
Alekz
Posts: 8
Joined: 24 Oct 2012, 17:43

Re: Can`t retrieve Clip list

Postby Alekz » 23 Nov 2012, 11:51

It is already that way. My extension is working when I send a webcam image to all users, and to record and retrieve some data in de DB, but the clip part is getting me some problems.
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Can`t retrieve Clip list

Postby Bax » 25 Nov 2012, 17:32

Are you calling the super.init() method in your Extension's init() method?
That is where the handler corresponding to the "rb_avClip" prefix is created.
Paolo Bax
The SmartFoxServer Team
Alekz
Posts: 8
Joined: 24 Oct 2012, 17:43

Re: Can`t retrieve Clip list

Postby Alekz » 28 Nov 2012, 18:09

How do I call the super.init() ?
Alekz
Posts: 8
Joined: 24 Oct 2012, 17:43

Re: Can`t retrieve Clip list

Postby Alekz » 28 Nov 2012, 18:50

It worked. Now, I only have to figure out how to make a clip list

Return to “RedBox 2X”

Who is online

Users browsing this forum: No registered users and 2 guests