Search found 35 matches

by RiccardoNL
13 Aug 2013, 20:43
Forum: RedBox 2X
Topic: [VideoConference] Check how many people are on camera
Replies: 6
Views: 4147

Re: [VideoConference] Check how many people are on camera

Bax,

That did the trick :). Thank you so much for helping me out and you incredible patience with me.

Riccardo
by RiccardoNL
12 Aug 2013, 17:39
Forum: RedBox 2X
Topic: [VideoConference] Check how many people are on camera
Replies: 6
Views: 4147

Re: [VideoConference] Check how many people are on camera

Hi Bax, I checked it and used it in my code. But now the length of getAvailableCasts is always 0. And yes, I joined the room already. This is the code I used: public function onLiveCastPublished(evt:RedBoxCastEvent):void { var liveCast:LiveCast = evt.params.liveCast; trace ("User " + liveC...
by RiccardoNL
11 Aug 2013, 15:06
Forum: RedBox 2X
Topic: [VideoConference] Check how many people are on camera
Replies: 6
Views: 4147

Re: [VideoConference] Check how many people are on camera

Hi Bax,

Thank you for your reply. The aim is to check if there are 8 users on cam. If there are 8 users broadcasting, I want the JoinConference button to be inactive.
How can I let it check there are 8 people on cam? Through getAvailableCasts I only get DisplayObject errors..

Riccardo
by RiccardoNL
06 Aug 2013, 19:37
Forum: RedBox 2X
Topic: [VideoConference] Check how many people are on camera
Replies: 6
Views: 4147

[VideoConference] Check how many people are on camera

Hi all, I'm playing around with the VideoConference sample. Is there a way to check how many people are on camera? I see every liveCast gets an id. My goal is to prevent users from starting broadcasting, as soon as there are 8 people on cam. I tried something like this in VideoConference.as: if(!vid...
by RiccardoNL
04 Aug 2013, 21:53
Forum: SFS2X Questions
Topic: Grant permissions per room
Replies: 15
Views: 4013

Re: Grant permissions per room

Sorry, I think I've lost track of the conversation but in any case you have server side event that fires when a User joins a Room. ( called SFSEventType.USER_JOIN_ROOM ) I am not sure if you just need the notification or you want to be able to deny access if some criteria is not met. I'm using the ...
by RiccardoNL
04 Aug 2013, 20:47
Forum: SFS2X Questions
Topic: Grant permissions per room
Replies: 15
Views: 4013

Re: Grant permissions per room

Hi Lapo, I've been thinking about this for more than a month now, tried so many things.. But I still don't understand: how can I check if someone is a moderator, when a person joins a room instead of a zone? Now the login assistant component checks it when logging in. What do I need to edit to check...
by RiccardoNL
25 Jun 2013, 12:25
Forum: SFS2X Questions
Topic: Integrating SignUp/Login
Replies: 4
Views: 1425

Re: Integrating SignUp/Login

Hi Bax, Yes, I have placed the SmartFoxBits files in the libs folder of my project. Flex is able to load SmartFoxBits in several other projects. I don't really understand why it doesn't load now. Should I have to refer to that file, or should xmlns:sfb="http://www.smartfoxserver.com/bits just w...
by RiccardoNL
24 Jun 2013, 18:15
Forum: SFS2X Questions
Topic: Integrating SignUp/Login
Replies: 4
Views: 1425

Re: Integrating SignUp/Login

Alright this is the code so far: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:sfb="http://www.smartfoxserver.com/bits" xmlns:components="components.*" creationPolicy="all" layout=&qu...
by RiccardoNL
24 Jun 2013, 16:01
Forum: SFS2X Questions
Topic: Integrating SignUp/Login
Replies: 4
Views: 1425

Integrating SignUp/Login

Hey all, Is there a way to integrate the Sign Up / Login component with the Video Conference example? I've been messing around a little, but all I get is 44 errors. As soon as I use the login.xml from the SignUp/Login Component, instead of SmartFoxBits' LoginPanel, I get 44 errors with: "Use of...
by RiccardoNL
23 Jun 2013, 23:06
Forum: SFS2X Questions
Topic: SQL Exceptions with SignUpComponent
Replies: 1
Views: 831

Re: SQL Exceptions with SignUpComponent

Alright. For everyone else having this problem.. The TestSQL you see on the docs was the problem for me.
Use SELECT 1 as TestSQL and you are ready to go.
by RiccardoNL
23 Jun 2013, 22:51
Forum: SFS2X Questions
Topic: SQL Exceptions with SignUpComponent
Replies: 1
Views: 831

SQL Exceptions with SignUpComponent

Hi all, I was trying to get the SignUpComponent to work today, as it will be a great addition to my application. Much easier than using a PHP-page that might get exploited. So, I followed all the steps from this page (http://docs2x.smartfoxserver.com/ExamplesFlash/signup-login). After a while, I ran...
by RiccardoNL
20 Jun 2013, 19:17
Forum: SFS2X Questions
Topic: Grant permissions per room
Replies: 15
Views: 4013

Re: Grant permissions per room

Hi Lapo, I think you understand me wrong. I don't want an user to be prevented from joining a room. I want to have different moderators on a room-level, next to a zone-level. This way users with own rooms, can pick their own moderators. Do you have any idea how to let it checked per room, by a roome...
by RiccardoNL
19 Jun 2013, 19:28
Forum: SFS2X Questions
Topic: Grant permissions per room
Replies: 15
Views: 4013

Re: Grant permissions per room

Could I use this (http://jadendreamer.wordpress.com/2010/12/27/smartfoxserver-2x-tutorial-how-to-create-a-custom-mysql-login-extension/) as a base for that? Or is that zone-only aswell? I don't really know how to convert a zone extension into a roomextension. Do I have to define it is a room extensi...
by RiccardoNL
19 Jun 2013, 18:37
Forum: SFS2X Questions
Topic: Grant permissions per room
Replies: 15
Views: 4013

Re: Grant permissions per room

Hi Lapo,

Why can't I set the LoginAssistantComponent you wrote a while ago as a roomextension? Wouldn't that do exactly the thing I want?
When I activate it, I get the error that this extension can't be used on a roomlevel.

Riccardo
by RiccardoNL
17 Jun 2013, 20:56
Forum: SFS2X Questions
Topic: Grant permissions per room
Replies: 15
Views: 4013

Re: Grant permissions per room

Hi Lapo, How could I let a new extension check for permissions, when joining a room? I understand it from a zone level, but a room level appears to be very different. I've read something about hidden variables. How is it going to communicate with a room extension? I'm pretty confused now. Isn't it i...

Go to advanced search