Search found 41 matches

by Devon
12 Feb 2013, 21:14
Forum: SFS2X HTML5 / JavaScript API
Topic: RedBox 2X...
Replies: 1
Views: 5241

RedBox 2X...

Is it possible to do audio/video streaming using RedBox 2X and the JavaScript API? I read that everything except BlueBox was implemented but I've not seen any reference or examples of audio/video capabilities...
by Devon
24 Jan 2013, 03:29
Forum: SFS2X Questions
Topic: Urgent : maxUsers & maxSpectators
Replies: 2
Views: 4677

Re: Urgent : maxUsers & maxSpectators

If you want 300 total users, you'd probably have to implement something yourself. I'd probably set them both to 300, use the privilege manager prevent the SFS join room requests. Then create a custom extension handler to implement the join-room request the way that you want. For example: if( room.us...
by Devon
23 Jan 2013, 18:47
Forum: SFS2X HTML5 / JavaScript API
Topic: Can't connect...
Replies: 5
Views: 10001

Re: Can't connect...

I was assuming it was his firewall, which is why I was trying to setup web sockets on one of the default http ports. However, they're already being used by Apache. Hence the reason I'm asking what options I have...
by Devon
22 Jan 2013, 16:41
Forum: SFS2X HTML5 / JavaScript API
Topic: Can't connect...
Replies: 5
Views: 10001

Re: Can't connect...

Well, I was able to connect to the server... It's a VPS with a hosting provider, so it's not on my local network.
by Devon
19 Jan 2013, 21:00
Forum: SFS2X HTML5 / JavaScript API
Topic: Can't connect...
Replies: 5
Views: 10001

Can't connect...

I just deployed my project to a server running cPanel with Apache as the main web server. I setup SFS in /home/<user> and put the client in /home/<user>/public_html. With WebSockets on it's default port of 8888, I was able to connect successfully and all worked great. However, I tried to have someon...
by Devon
17 Jan 2013, 19:00
Forum: SFS2X Questions
Topic: Java Error Launching Server
Replies: 1
Views: 3586

Java Error Launching Server

I'm trying to deploy the server on a VPS running 768MB RAM and CentOS, alongside of cPanel with Apache, MySQL, PHP, Exim, ect... However, when attempting to launch, I'm receiving the following error: root@host [/home/<removed>/SmartFoxServer2X/SFS2X]# ./sfs2x.sh Error occurred during initialization ...
by Devon
16 Jan 2013, 10:27
Forum: SFS2X HTML5 / JavaScript API
Topic: Get size of response...
Replies: 2
Views: 6503

Re: Get size of response...

Unfortunately, it's more of an art board than a white board so precision and fluency is important. I may implement some point smoothing to reduce some clutter but overall I need most of the data. Do you have any plans for adding the ability to create progress bars in the future? I suppose in the mea...
by Devon
16 Jan 2013, 08:30
Forum: SFS2X HTML5 / JavaScript API
Topic: Get size of response...
Replies: 2
Views: 6503

Get size of response...

I'm creating a whiteboard and keeping track of all of the line segments drawn. As you can imagine, this would build up over time and may reach upwards of 1MB before the board is cleared. So, new users who join the room will have to download 1MB of data to view the current state. While most peoples i...
by Devon
10 Jan 2013, 19:51
Forum: SFS2X Questions
Topic: Room Extension Variables...
Replies: 3
Views: 5019

Re: Room Extension Variables...

Awesome. 1) Is there a reason, performance wise, as to why they the handlers are instantiated on each request by default? 2) And from a MultiHandler, is there a way to access methods on the RoomExtension class itself? I was reading the section on "Maintaining state in the Extension" and it...
by Devon
10 Jan 2013, 13:06
Forum: SFS2X Questions
Topic: Room Extension Variables...
Replies: 3
Views: 5019

Room Extension Variables...

I'm curious, does the room extension get instantiated only once? If so, does this mean I can store data in the extension and have it be there on each request? Reason being, I'm trying to develop a whiteboard application and I don't want it to send all of the information to everyone every time it cha...
by Devon
08 Jan 2013, 21:17
Forum: SFS2X Questions
Topic: How do you create a permanent room?
Replies: 3
Views: 5057

Re: How do you create a permanent room?

I need the user to be able to create the rooms though, so they have to be dynamically created. After doing a series of searches, I've finally gathered enough information from older forum posts to see that I need to use a system filter. I've managed to get it setup and working, but I'm not sure how t...
by Devon
08 Jan 2013, 12:56
Forum: SFS2X Questions
Topic: How do you create a permanent room?
Replies: 3
Views: 5057

How do you create a permanent room?

I'm trying to make it so that a user may create a room and have it remain there even if it's empty and the owner has disconnected. However, I cannot get the rooms to be persistent.

I wasn't able to find much information on the matter in the 2X documentation. :-/

Thanks,
- Devon
by Devon
03 Jan 2013, 02:41
Forum: SFS2X HTML5 / JavaScript API
Topic: Why isn't there an event.type?
Replies: 1
Views: 5439

Why isn't there an event.type?

It'd be nice to have an event.type implemented into the API so that we have a little more control and flexibility on how we manage our events... For example, event.type = SFS2X.SFSEvent.CONNECTION. I forward my events to an observer to be handled by the application... However, as it is now, I have t...
by Devon
01 Jan 2013, 21:14
Forum: SFS2X Questions
Topic: Extension response to everyone except self...
Replies: 2
Views: 4219

Re: Extension response to everyone except self...

Thanks and happy new year to you too!
by Devon
31 Dec 2012, 13:54
Forum: SFS2X Questions
Topic: Extension response to everyone except self...
Replies: 2
Views: 4219

Extension response to everyone except self...

Is there an easy way to send an extensions response to everyone except the sender or do I have to loop through all users in the List with a conditional to avoid sending the response to the sender?

Go to advanced search