since ‎11-03-2010
‎10-12-2019
a__w_
Level 1
Re: How to register User custom field using PHP?
Avatar

a__w_

a__w_
- Adobe LiveCycle
Got it, just need to add new node to UserManager collection.const USER_MANAGER_COLLECTION = 'UserManager';static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array( 'accessModel'=>self::ROLE_VIEWER, 'publishModel'=>self::ROLE_VIEWER, 'persistItems'=>true, 'modifyAnyItem'=>false, 'userDependentItems'=>true, 'sessionDependentItems'=>false, 'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL, 'allowPrivateMessages'=>true, 'lazySubscription'=>false, 'p2pDataMessaging'=>false ); const USER_INVITE_...

Views

23

Likes

0

Replies

0
How to register User custom field using PHP?
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I am looking for a way to share user specific data between connected users. For example, all participants should know each other IDs(our own system IDs, not LCCS).User's custom fields looks the best solution for this, but I can't find a way to register one using PHP, while creating room.How to register User's custom field using PHP? Or may be there are better solution to make such things?

Views

745

Likes

0

Replies

1
Error with local LCCS server connection
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I've tried to use local LCCS server and tried to make application with LocalAuthenticator. For help, i've used example "LocalConnection" from SDK example apps. This example contains comment:The application does not need a room url, store any data, or requires a password.I've tried to do the same with Flex SDK 4.1: but got this error, every launch:TypeError: Error #1009: Cannot access a property or method of a null object reference.at com.adobe.rtc.util::URLParser$/parseURL()[/Users/arun/W...

Views

1.0K

Likes

0

Replies

3
SharedWhiteBoard synchronizationChange event bug
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!SharedWhiteBoard has event synchronizationChange and metadata tag declaration[Event(name="synchronizationChange", type="com.adobe.rtc.events.CollectionNodeEvent")]This metadata tag used by Flex compiler while generating ActionScript code and when I use this event in code like this one: protected function sharedwhiteboard1_synchronizationChangeHandler(event:CollectionNodeEvent):void{ trace('IN SYNC:', this.whitebord.isSynchronized); } ]]>I am expecting event CollectionNodeEvent, but instead of...

Views

497

Likes

0

Replies

1
Re: ScreenSharing questions
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I've cuted code to very simple application that uses flashvars to determine will it publish stream or just subscribe: import com.adobe.rtc.events.SessionEvent; protected function session_synchronizationChangeHandler(event:SessionEvent):void{ if(!this.session.isSynchronized) return; if(this.parameters.publisher){ this.publisher.publish(); } this.subscriber.subscribe(); } At first I am launching publisher application with flashvars "publisher=1" and it starts to publish. Then I am launching second application with empty flashvars and it starts to listen my streams.Expected results:Both applications showing default share screen stream.Actual result:Only subscriber application will show stream, publisher application will show black screen,...

Views

69

Likes

0

Replies

0
Re: ScreenSharing questions
Avatar

a__w_

a__w_
- Adobe LiveCycle
Here is test application that i am writing fr blog post about LCCS: import com.adobe.rtc.collaboration.AudioSubscriber; import com.adobe.rtc.collaboration.ScreenShareSubscriber; import com.adobe.rtc.collaboration.WebcamSubscriber; import com.adobe.rtc.events.CollectionNodeEvent; import com.adobe.rtc.events.SessionEvent; import com.adobe.rtc.events.StreamEvent; import com.adobe.rtc.messaging.UserRoles; import com.adobe.rtc.sharedManagers.StreamManager; import com.adobe.rtc.sharedManagers.descriptors.StreamDescriptor; import mx.collections.ArrayList; import mx.core.BitmapAsset; import mx.events.FlexEvent; import spark.events.IndexChangeEvent; import spark.primitives.Graphic; private var _subscriber:ScreenShareSubscriber; protected function session_synchronizationChangeHandler(event:SessionEvent):void{ if(!this.session.isSynchronized) return; this.session.streamManager.addEventListener(StreamEvent.STREAM_RECEIVE, this.streamManager_updateHandler); this.session.streamManager.addEventListener(StreamEvent.STREAM_DELETE, this.streamManager_updateHandler); this.currentState = 'work'; this.updateUserList(); } protected function publishButton_clickHandler(event:MouseEvent):void{ if(this.publishButton.selected){ if(!this.publisher.isPublishing){ this.publisher.publish(); } }else{ if(this.publisher.isPublishing){ try{ this.publisher.stop(); }catch(error:Error){} } } } protected function streamManager_updateHandler(event:StreamEvent):void{ this.updateUserList(); } protected function updateUserList():void{ var streams:Object = this.session.streamManager.getStreamsOfType(StreamManager.SCREENSHARE_STREAM); var list:Array = [{id:'Don\'t show any'}]; var selectedId:String = this.streams.selectedItem ? (this.streams.selectedItem as StreamDescriptor).id : ''; var selectedIndex:int = -1; for each(var descriptor:StreamDescriptor in streams){ if(selectedId==descriptor.id){ selectedIndex = list.length; } list.push(descriptor); } this.streams.dataProvider = new ArrayList(list); this.streams.selectedIndex = selectedIndex; } protected function streams_changeHandler(event:IndexChangeEvent):void{ if(this._subscriber){ this._subscriber.close(); this.group.removeElement(this._subscriber); } var item:StreamDescriptor = this.streams.selectedItem as StreamDescriptor; if(item){ this._subscriber = new ScreenShareSubscriber(); this._subscriber.percentWidth = 100; this._subscriber.percentHeight = 100; this._subscriber.connectSession = this.session; this._subscriber.publisherID = item.streamPublisherID; this._subscriber.subscribe(); this.group.addElement(this._subscriber); } } While running this i am creating two instances of this application in two browser windows. And publisher window can't display own stream while other window showing stream correclty.And another question -- i've tried to start two ScreenSharing streams on the same computer(this this app, by launching it in two browser windows), but second stopped with error. Only one stream allowed or you will provide s...

Views

43

Likes

0

Replies

0
ScreenSharing questions
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!While testing ScreenSharing feature i've found some things that is not clear for me:1. Why screen sharing stream descriptor has different publisher ID than publisher's user ID? I've compared StreamDescriptor.streamPublisherID and UserManager.myUserID and there are different values. For me was WCD-4A5D5B****0BC27B992016B6/25 and WCD-4A5D5B****0BC27B992016B6/242. How can I see own screen sharing picture? I've created test app and publisher can't see own screen, but anyone else can.3. Why screen...

Views

879

Likes

0

Replies

4
Navigator Console video display bug
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I've tested video streams with WebCamera example from SDK and tried Video display from console.And looks like there are bug, in app this video looks as expected, but in console it was croppedHere are screenshot. I've used latest Navigator, downloaded from my account, to fix that bug with updater.

Views

583

Likes

0

Replies

1
Re: When creating Collections and Nodes via PHP not setting storage scheme
Avatar

a__w_

a__w_
- Adobe LiveCycle
Can you post complete code listing that you used to test this issue?Ok, looks like i've figured out where is the problem. I've disabled CURL option and everything started to work properly. Please, check the same script that you have used, but now turn ON CURL:RTC::$USE_CURL = true;

Views

51

Likes

0

Replies

0
Re: When creating Collections and Nodes via PHP not setting storage scheme
Avatar

a__w_

a__w_
- Adobe LiveCycle
That's good news for me, thanks.I'll try to clean up everything, switch accounts and will try again with this code.With Whiteboard i've used the same approach, so if chat will work, i guess Whiteboard will work too.

Views

46

Likes

0

Replies

0
Re: When creating Collections and Nodes via PHP not setting storage scheme
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!Can anyone confirm this issue?I've tested Whiteboard(nodes created with PHP) and faced the same problem. With it Whiteboard functioning like a diaster...

Views

47

Likes

0

Replies

0
Re: When creating Collections and Nodes via PHP not setting storage scheme
Avatar

a__w_

a__w_
- Adobe LiveCycle
Can you say when exactly you planning to make a new release? I am asking because its very important to me make it working properly before of 4-th December(our application goes to final of a startup competition). Or it is my fault?

Views

46

Likes

0

Replies

0
Re: When creating Collections and Nodes via PHP not setting storage scheme
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!Thanks for answer.Here is my code, that creates chat(I've changed constants as you said): // collection name templateconst CHAT_NAME_TEMPLATE = 'chat_';// chat node names const CHAT_HISTORY_NODE_EVERYONE = 'history'; const CHAT_HISTORY_NODE_PARTICIPANTS = 'history_participants'; const CHAT_HISTORY_NODE_HOSTS = 'history_hosts'; const CHAT_TYPING_NODE_NAME = 'typing';// config templatestatic private $CHAT_CONFIGURATION = array( 'accessModel'=>RTCUserRole::VIEWER, 'publishModel'=>RTCUserRole::VI...

Views

45

Likes

0

Replies

0
When creating Collections and Nodes via PHP not setting storage scheme
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I am trying to create chat Collection and Nodes with PHP backend.I am using this configuration as base for all nodes with small changes:static private $CHAT_CONFIGURATION = array( 'accessModel'=>self::ROLE_VIEWER, 'publishModel'=>self::ROLE_VIEWER, 'persistItems'=>true, 'modifyAnyItem'=>false, 'userDependentItems'=>false, 'sessionDependentItems'=>false, 'itemStorageScheme'=>self::STORAGE_SCHEME_QUEUE, 'allowPrivateMessages'=>false, 'lazySubscription'=>false, 'p2pDataMessaging'=>false);STORAGE...

Views

1.0K

Likes

0

Replies

8
Re: How to detect webcam streams without receiving ones
Avatar

a__w_

a__w_
- Adobe LiveCycle
Yes, looks like so. Thanks for pointing me to this!

Views

50

Likes

0

Replies

0
Re: How to detect webcam streams without receiving ones
Avatar

a__w_

a__w_
- Adobe LiveCycle
Yeah, I've tried this but when I am receiving this StreamEvent, how to get owners ID? When i traced event.streamDescriptor.streamPublisherID it showed NULL.

Views

27

Likes

0

Replies

0
Re: How to detect webcam streams without receiving ones
Avatar

a__w_

a__w_
- Adobe LiveCycle
Thanks for the reply!I need to know streams of another users connected to group.I've tried this with WebcamSubscriber and when another user starts publishing, my user receives STREAM_RECEIVE event and starts to play stream automatically. But before play stream(and create NetStream object and start to load my bandwith with webcam video) I need to know that stream is available and display popup with question like "Someone started webcam, do you want to see this?".

Views

26

Likes

0

Replies

0
How to detect webcam streams without receiving ones
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I am looking a way to know when user(any user in the room/group) started to publish his webcam and stopped.I've tried to add listener to StreamManager protected function cameraview_initializeHandler(event:FlexEvent):void{ this._connectionSession.streamManager.addEventListener(StreamEvent.STREAM_RECEIVE, this.streamReceivedHandler); } protected function streamReceivedHandler(event:StreamEvent):void{ trace('stream received', event.name, event.streamDescriptor.groupName, event.streamDescriptor.s...

Views

980

Likes

0

Replies

6
Re: PHP - create room and decorate it
Avatar

a__w_

a__w_
- Adobe LiveCycle
Great! Thanks for the answer! I thought that i need to define streams somehow.

Views

44

Likes

0

Replies

0
Re: PHP - create room and decorate it
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!Thanks for the reply! I am looking for way that will allow me to completely decorate room programmatically, from server script. All users that will use created room/group will have PUBLISHER rights. Now i wrote PHP script that creates the room inside specific application and decorates it for chat and whiteboard, but I don't know how to enable webcam/mic for users. What i need to do for webcam/mic support, or this is enough and webcam/mic will work without additional collections and nodes?I ca...

Views

72

Likes

0

Replies

0
Re: PHP - create room for specific application
Avatar

a__w_

a__w_
- Adobe LiveCycle
I need to create an empty room for this application, assign this room as template for this application and use application name as template for room that i want to create.

Views

21

Likes

0

Replies

0
PHP - create room for specific application
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I am creating room using PHP library and can not figure how to specify application for this room.Now I have a default appliaction and MyFirstApp paid application, how i can specify "MyFirstApp" for new room?

Views

811

Likes

0

Replies

4
PHP - create room and decorate it
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I am working with groups in rooms.Each user in my application has own room and can create as many separate sessions as he wants. Each session creates own group and decorates it with needed collections and nodes. Currenly this can be done inside client(Flex) application, but before release i need to place all management code to server to protect private info(login/pass/secret). And now i am looknig a way to decorate room via PHP backend.With Flex app that was easy -- i just need to call whiteb...

Views

944

Likes

0

Replies

4
Skinning pods
Avatar

a__w_

a__w_
- Adobe LiveCycle
Hi!I am looking way to skin pods, currently i am working with Whiteboard and trying to change skin in whiteboard toolbars.Would be nice to hear some advices how to completely change look.I've checked source and looks like there is no possibility to change skin easily.

Views

509

Likes

0

Replies

0