Search found 18 matches

by fastboy619
07 Oct 2014, 00:32
Forum: SFS2X Questions
Topic: Removing room when owner leaves
Replies: 5
Views: 7383

Re: Removing room when owner leaves

I got it to work :D So for anyone who tries to do this in the future this is how I did it, you might need to change the code up a bit. public void handleServerEvent(ISFSEvent event) throws SFSException { @SuppressWarnings("unchecked") java.util.List<Room> joinedRooms = (List<Room>) event.g...
by fastboy619
06 Oct 2014, 19:44
Forum: SFS2X Questions
Topic: Removing room when owner leaves
Replies: 5
Views: 7383

Re: Removing room when owner leaves

public class RemoveOwnedRoom extends BaseServerEventHandler { @Override public void handleServerEvent(ISFSEvent event) throws SFSException { Room room = (Room) event.getParameter(SFSEventParam.ROOM); if(room==null) { trace("THE ROOM Param IS ALWAYS NULL IN A DISCONNECT HANDLER"); } } } Se...
by fastboy619
05 Oct 2014, 20:21
Forum: SFS2X Questions
Topic: Removing room when owner leaves
Replies: 5
Views: 7383

Removing room when owner leaves

Hey guys, how do I go about removing a room when the owner leaves even if there are other people in it.
I managed to do something like this using the USER LEAVE ROOM on serverside but it doesn't seem to work when the owner disconnects.
by fastboy619
16 Sep 2014, 13:08
Forum: RedBox 2X
Topic: is it possible Serverside
Replies: 1
Views: 9642

is it possible Serverside

so I plan to have one Caster and many listeners is it possible to stop a listener from also casting(if he hacks and gets into the code ofcourse) on serverside?
by fastboy619
03 Sep 2014, 16:59
Forum: SFS2X Questions
Topic: Can't start SFS at all (just downoaded it)
Replies: 2
Views: 4970

Re: Can't start SFS at all (just downoaded it)

Yes That seemed to be my mistake I feel stupid now xD
Thanks tho :D
by fastboy619
03 Sep 2014, 13:36
Forum: SFS2X Questions
Topic: Can't start SFS at all (just downoaded it)
Replies: 2
Views: 4970

Can't start SFS at all (just downoaded it)

Well Whenever I try to run SSFS I get This Bind error and I have no Idea how to change the port help would be morre than apreciated 03 Sep 2014 | 21:01:50,177 | WARN | SFS2X ShutdownHook | v2.core.SFSShutdownHook | | SFS2X is shutting down. The process may take a few seconds... 03 Sep 2014 | 21:01:5...
by fastboy619
31 Oct 2013, 22:32
Forum: RedBox 2X
Topic: whenever i extend to the RedBoxExtension my server crashes
Replies: 11
Views: 21354

Re: whenever i extend to the RedBoxExtension my server crash

Bax wrote:Maybe you can try reinstalling Red5?

lost count of how many times i reinstallled redbox and smartfoxserver.
with reinstall you mean remving and replacing the red5 folder in sfs right?
by fastboy619
31 Oct 2013, 11:56
Forum: RedBox 2X
Topic: whenever i extend to the RedBoxExtension my server crashes
Replies: 11
Views: 21354

Re: whenever i extend to the RedBoxExtension my server crash

hmm i mean the examples where running like 1 week ago but now they don't run just like how my code doesn't run.
and i am sure my code is bug/error free since i had it working 1 week ago just like i had the examples work.
by fastboy619
31 Oct 2013, 02:10
Forum: RedBox 2X
Topic: whenever i extend to the RedBoxExtension my server crashes
Replies: 11
Views: 21354

Re: whenever i extend to the RedBoxExtension my server crash

unfortunately I'm not a Red5 expert, so I'm not able to help. You should look for help in forums dedicated to Red5. but the examples also don't run same error. and i used the exact same redbox folder that comes in the zip file, it used to work tho i had the examples running then i went into coding ...
by fastboy619
29 Oct 2013, 17:44
Forum: RedBox 2X
Topic: whenever i extend to the RedBoxExtension my server crashes
Replies: 11
Views: 21354

Re: whenever i extend to the RedBoxExtension my server crash

Thanks i got SFS to run with the redboxExtension but now i get this in the red5 server: [WARN] [Red5_Scheduler_Worker-2] org.red5.server.net.rtmp.RTMPConnection - Closi ng RTMPMinaConnection from 127.0.0.1 : 5510 to null (in: 1537 out 0 ), with id 1 due to long handshake I really don't know what is ...
by fastboy619
28 Oct 2013, 21:17
Forum: RedBox 2X
Topic: whenever i extend to the RedBoxExtension my server crashes
Replies: 11
Views: 21354

Re: whenever i extend to the RedBoxExtension my server crash

thats the point it doesn't it just crashes away and when i go look into the logs it just shows smartfox trying to load the extension and quiting. 28 Oct 2013 | 17:47:52,937 | INFO | main | smartfoxserver.v2.SmartFoxServer | | Boot sequence starts... 28 Oct 2013 | 17:47:53,031 | INFO | main | smartfo...
by fastboy619
27 Oct 2013, 20:49
Forum: RedBox 2X
Topic: whenever i extend to the RedBoxExtension my server crashes
Replies: 11
Views: 21354

whenever i extend to the RedBoxExtension my server crashes

whenever i extend to RedBoxExtension my server crashes anyone know why? sometimes when i put extends SFSExtension and run the server then reload to where the class says extends RedBoxExtension it gives me Exception: java.lang.NoClassDefFoundError Message: com/smartfoxserver/v2/extensions/SFSExtensio...
by fastboy619
17 Oct 2013, 22:55
Forum: RedBox 2X
Topic: redbox RedBoxCastEvent's don't work?
Replies: 7
Views: 16202

Re: redbox RedBoxCastEvent's don't work?

I fixed it by calling GetAvailableCasts() right after a user Joins even if he doesn't need it yet
by fastboy619
15 Oct 2013, 19:46
Forum: RedBox 2X
Topic: redbox RedBoxCastEvent's don't work?
Replies: 7
Views: 16202

Re: redbox RedBoxCastEvent's don't work?

i did exactly as in the video conference example it still won't trigger it just doesn't i don't know why i call the getAvailabeCasts() and they still don't trigger. edit: got everything to work fine by going into the core sfs redbox code and changing everything, just kidding it was just that smartfo...
by fastboy619
14 Oct 2013, 20:53
Forum: RedBox 2X
Topic: redbox RedBoxCastEvent's don't work?
Replies: 7
Views: 16202

Re: redbox RedBoxCastEvent's don't work?

Are you testing this with one user only? When you publish the user stream, only the other users in the same Room receive the RedBoxCastEvent.LIVE_CAST_PUBLISHED event, which in turn populates the getAvailableCasts array. So the user that publishes their cast don't get a LIVE_CAST_PUBLISHED? if so t...

Go to advanced search