Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

smikb
Community profile smikb Level 2
Job title here
Location here
8 BADGES
Level 2

Level 2

Learn more
Joined the community 01-07-2010 4:07:35 AM
Offline
Top badges earned by smikb
Customize the badges you want to showcase on your profile
Re: Setting maxP2PStreamPublish for a room
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi Nigel, Thanks for the clarification.I'm using Flash Player 10, and in my setup I tried setting up a room with 3 participants. So as per my understanding, each publisher should have 4 p2p streams(since I bumped up the max value in StreamManager to 6). This actually works fine for me.What I don't understand is when I bump up the max p2p streams value to 10, with the same setup(same quality etc.) of 3 participants in a room, I don't get the streams on the subscribers(though the subscriber's stre...

Views

70

Likes

0

Replies

0
Re: Setting maxP2PStreamPublish for a room
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi Hironmoy, Thanks for that info. From the documents, however, I see that the streamManager member for ConnectSessionContainer is a read-only value.I'm hoping that the documentation is probably not up-to-date in that case.So having not known that the streamManager member can indeed be updated, I went ahead and changed the StreamManager source file for flash 10 and set the value to 6. That seemed to work properly with no side-effects. But when I set it to 10, I couldn't get the publisher to publ...

Views

65

Likes

0

Replies

0
Setting maxP2PStreamPublish for a room
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi, How do I set the parameter maxP2PStreamPublish of StreamManager for a room to enable more than 3 p2p streams to be published by a publisher?Also, what are the implications of setting this value to a very high value??Thanks,Soumik

Views

809

Likes

0

Replies

5
Re: max limit for rooms created
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Ok, cool.The number of users is definitely not coming into play since, each room has max of 3 participants and they log out appropriately.Thing is, I saw it happen it only twice, and both times I wasn't in a position to take some logs or do some testing.I'll try to gather more info the next time i see this happen.Thanks,Soumik

Views

116

Likes

0

Replies

0
max limit for rooms created
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi,Is there any limit to the number of rooms that can be created dynamically using server-side scripts, for free users using the same LCCS userid?? I'm experiencing some intermittently anomalous behavior with LCCS rooms. I've a template for room creation and I've Java server-side code which is responsible for creating/deleting dynamic rooms using the template. Due to a bug in my code under some scenarios, the room deletion failed to kick in, and what I got were some unused rooms left behind.Howe...

Views

866

Likes

0

Replies

3
Re: Collaboration across rooms
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi, Yeah, my use-case is something like that. I'm trying to create a public room where people can log-in and start one-to-one chats or multi-party conferences. And from a scaling pov I was wondering how much will be too much and if we had a way around the max participant limit and be able to scale only when I absolutely need to.Sure, you might say that I could create separate rooms for individual chats/conferences, but then I've to manage the communication of the room-ids etc for each participan...

Views

92

Likes

0

Replies

0
Collaboration across rooms
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi, I was wondering whether it is possible to collaborate across rooms in some way using the LCCS API. Currently, there's a per room limit of couple of thousand(not sure abt the exact number). Say a room hits the upper limit, is there a way that we could create a new room and still be able to access the streams of the first room using the reference of the first?Thanks,Soumik

Views

745

Likes

0

Replies

3
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
I want to know how do I change the aspect ratio which is currently defaulted to standard to, say, landscape or portrait aspect ratio. What is the function call which does that?Thanks,Soumik

Views

150

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hironmoy, Yes I noticed that the stream manager class supports 3 aspect ratios. And I could've used the landscape aspect ratio, but I didn't find any way(no set methods) to set the aspect ratio either in the StreamManager or the StreamDescriptor classes.Also, the changeSizeStream() method in StreamManager class didn't seem to have any effect on the published aspect ratio.Thanks,Soumik

Views

149

Likes

0

Replies

0
Re: Video Settings
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi Kevin,My upload speeds are capped at 600Kbps, the following gives me just about okay video chat quality for me(stutter-free web cam feed).I've used WebcamPublisher with quality=90 and resolutionfactor=2. The default resolution is 128x128. However, if I'm not wrong, more upload bandwidth will be consumed with more people connected to the web cam feed. So you might need to consider that as well while setting the quality and resolution.Here's a good article on checking and setting your audio/vid...

Views

71

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Thanks that helped a lot.Another quick question, it seems to me that the CameraPublisher object always has the capture aspect ratio of 1:1.Is there a way to configure the aspect ratio of the Camera?? Better even, why not make the _camera attribute of WebcamPublisher a "writable" attribute rather than just a "read-only" attribute??My attempts to configure the video stream using StreamManager to specific nativeheight and nativewidth didn't seem to make any difference.Thanks,Soumik

Views

149

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
One more thing, more of a request really. It seems to me that right now the WebcamSubscriber/AudioSubscriber doesn't expose a callback function when the connection type changes - from RTMFP to RTMP.I was wondering whether it was possible to have a hook to the Publisher/Subscriber objects so that we can attach a function to be executed whenever the connection type changes.In my case, such a thing will help me alert users behind UDP restricted firewall/NATs to go set their firewall settings for be...

Views

153

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hironmoy, The changes you suggested in the WebcamSubscriber/AudioSubscriber worked. Now I don't get the p2p failed message and the delay is minimal.Really appreciate your co-operation and prompt replies to my queries, it was very helpful for me. I hope to dig deeper into LCCS and try out other stuff.Thanks a lot,Soumik

Views

147

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi Hironmoy, Any luck with this issue?? Were you able to try out the Publisher/Subscriber flex source?Thanks,Soumik

Views

150

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hironmoy, I've attached both the publisher and subscriber code few posts back. It'll also have the room URL in it.Thanks,Soumik

Views

205

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Ok, so I was able to change the WebcamSubscriber timeout and increased it to 80 seconds. And you were right, the error log still came after the increased timeout.Btw, one observation is that the Webcam starts publishing immediately though the timeout has been increased. I was under the impression that the RTMFP stream was tried first, failing which it switched to RTMP. It seems that it already latches on to the RTMP stream even though the timer expires later on.Thanks,Soumik

Views

206

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Thanks for the update.One question though regarding changing the .as file - How do I include the flah 10 LCCS source? I'm trying the following:Project -> Properties -> Add SWC folder -> Here I'm adding : Flash Builder 4\plugins\com.adobe.afcs\libs\player10\src.This doesn't seem to work as the compilation of the Flex project gives me errors.-Soumikp.s. - I'm aware you're not here to answer my queries 24x7. I apologize if the multiple posts came across as a desperate attempt to get your attention,...

Views

207

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi, I just tried running the same publisher/subscriber application in FP 10(10.0.45.2) with Flex 4.I got the same error on the subscriber side.AFCS Beta Build # : 1.1.1requestInfo http://connectnow.acrobat.com/soumikb/testroom?guk=ZzpndWVzdHN1Yjo=&mode=xml&x=0.3174786879681051#TicketService# ticket received: 1rg5zmeictoohGetting FMS at https://na2.connectnow.acrobat.com/fms?ticket=1rg5zmeictooh&proto=rtmfp, attempt #1/3result: fms2.acrobat.comrtmfp:1935,rtmps:4432#FMSConnector# Thu Jul 15 18:49:...

Views

204

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hironmoy, I'm copy-pasting the publisher and subscriber flex code for your inspection. Please have a look and also if possible try out the publish/subscribe.Publisher:------------------------------- import com.adobe.rtc.events.CollectionNodeEvent; import com.adobe.rtc.events.SharedObjectEvent; import com.adobe.rtc.sharedManagers.descriptors.UserDescriptor; import com.adobe.rtc.sharedModel.SharedObject; import flash.external.ExternalInterface; import mx.core.FlexGlobals; [Bindable] public var myDispName: String; private function initVars(): void { myDispName = FlexGlobals.topLevelApplication.parameters.publishlabel; //auth.userName = myDispName; cSession.login(); } /***** * Handler for the stop and start buttons. *******/ private function onBtnClick(p_evt:MouseEvent):void { if ( p_evt.currentTarget.label == "Start Webcam" ) { webCamPub.publish(); p_evt.currentTarget.label = "Stop Webcam" ; audioPub.codec = SoundCodec.SPEEX; audioPub.publish(); }else if (p_evt.currentTarget.label == "Stop Webcam" ){ webCamPub.stop(); p_evt.currentTarget.label = "Start Webcam" ; audioPub.stop(); } } private function onInit(): void { webCamPub.publish(); webCamButton.label = "Stop Webcam"; audioPub.codec = SoundCodec.SPEEX; audioPub.publish(); var myUserDesc: UserDescriptor = cSession.userManager.getUserDescriptor(cSession.userManager.myUserID); myUserId.text = "UID:" + cSession.userManager.myUserID + " Display Name: " + myUserDesc.displayName + " flashvar: " + myDispName + " isP2P: " + myUserDesc.isPeer + " isRTMFP: " + myUserDesc.isRTMFP; } ------------------------------- And the Subscriber:-------------------------------- import com.adobe.rtc.sharedManagers.descriptors.UserDescriptor; import com.adobe.rtc.sharedModel.SharedObject; import com.adobe.rtc.events.CollectionNodeEvent; import mx.collections.ArrayCollection; import mx.core.FlexGlobals; [Bindable] public var publisherDispName: String; [Bindable] public var chatPeerId:String = null; private function initVars(): void { publisherDispName = FlexGlobals.topLevelApplication.parameters.stream; chatPeerId = FlexGlobals.topLevelApplication.parameters.peerid; } private function playPubStream(): void { var currUsers:ArrayCollection = cSession.userManager.userCollection; var pubId: String = null; webCamSub.publisherIDs = []; audioSub.publisherIDs = []; var pubWithDispNames: String = null; for( var i:int=0; i < currUsers.length; i++) { pubWithDispNames = pubWithDispNames + "User: " + (currUsers[i] as UserDescriptor).userID + ", name: " + (currUsers[i] as UserDescriptor).displayName + ";"; if((currUsers[i] as UserDescriptor).displayName == "someone@somewhere.com") { pubId = (currUsers[i] as UserDescriptor).userID; } } if(pubId != null) { mySubStatus.text = "Subscribing to: " + pubId; var publishers: Array = new Array(pubId); webCamSub.subscribe(); webCamSub.publisherIDs = publishers; audioSub.subscribe(); audioSub.publisherIDs = publishers; audioSub.setLocalVolume(1); } else { mySubStatus.text = "Error: failed to subscribe to " + publisherDispName; } } private function sliderVolSet():void { var volToSet: Number = (volSlider.value / 100); audioSub.setLocalVolume(volToSet); } --------------------------------If you feel that there's any error in the code above please let me know.Thanks,Soumik

Views

199

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hironmoy, Flash 10 is not really an option for us to deploy, since we've requirements for hardware acceleration which is fulfilled by 10.1.Nevertheless, I'll try to test the same on FP 10 and let you know the result.But if there's anything else you need which might need to debug this issue with FP 10.1, please let me know.As I had mentioned to you before, I'm able to use Stratus service for RTMFP P2P chat with FP 10.1 within the same network, without any issues.Thanks,Soumik

Views

205

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Here's the subscriber output in debug mode:AFCS Beta Build # : 1.1.1requestInfo http://connectnow.acrobat.com/soumikb/testroom?guk=ZzpndWVzdHN1Yjo=&mode=xml&x=0.781349497847259#TicketService# ticket received: 18ln9obp9i4wbGetting FMS at https://na2.connectnow.acrobat.com/fms?ticket=18ln9obp9i4wb&proto=rtmfp, attempt #1/3result: fms2.acrobat.com rtmfp:1935,rtmps:443 2#FMSConnector# Wed Jul 14 02:40:47 GMT+0530 2010 protocols: [object ProtocolPortPair],[object ProtocolPortPair]#FMSConnector# Wed ...

Views

204

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi Nigel, Yes, both of my clients are on the same network. Infact, since I'm currently debugging the issue of video chat latency I'm using the same machine to publish and then subscribe to the feed.I would like to know how we can change timeouts for P2P connection.If it helps I'll also paste the debug output for the subscriber swf.Thanks,Soumik

Views

206

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
One more thing, while I was trying to debug my subscriber on the console I see the following output when the subscriber is streaming the webcam output:Peer to peer connection failed and timed out in Camera for user guestsubPeer to peer connection failed and timed out in Audio for user guestsubDoes this mean that the WebcamSubscriber and AudioSubscriber has fallen back to RTMP instead of RTMFP??Thanks,Soumik

Views

221

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi,I tried setting the multicastWindowDuration for WebcamPublisher to 0 and 1 and though the delay came down a bit, its still around 2-3 seconds at worst.This is really not the same quality I get in the same setup when I use the stratus service.Could you perhaps suggest some ideal settings for a the WebCamPublisher and AudioPublisher?? I'm having a 2mbps download and 600kb/s upload speed. And here's the settings i'm supplying to the webcam and audio publisher: (Also, i'm setting the Audio codec ...

Views

207

Likes

0

Replies

0
Re: video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi Hironmoy, I'm using Flash Player 10.1.I'll give the hub-n-spoke thing a try by setting the maxP2PStreamPublish as 0. But I've a another swf(FP 10.1) where I've used Stratus and the NetGroup API for P2P. That one really gives a good performance, as in I see less than a second of lag.So I am wondering if both are indeed P2P between publisher and subscriber, how come the lag in this case of LCCS so much.Thanks,Soumik

Views

214

Likes

0

Replies

0
video chat delay
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi, I'm using WebCam Publisher/Subscriber components to have a user publish his webcam feed and another user subscribe to it.However I'm seeing a delay of over 4-5 seconds for the webcam feed. On the publisher side I'm checking the connection to the LCCS chat room and the UserManager's isP2P and isRTMFP properties are both true.The subscriber being on the same network I would obviously assume that it also is connected via RTMFP.My question is, is when we have the publish/subscribe model for WebC...

Views

4.8K

Likes

0

Replies

32
Re: Unable to log in a room as unauthenticated user
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Thanks Hironmoy, your response was very useful. I've set guestToKnock to false and the unauthenticated users can log in.I'm a n00b as far as Flex and LCCS is concerned, so thanks for pointing me in the right direction.I've a follow-up question though. I'm trying to create an application using LCCS where I'll allow one-to-one videochat in a room.Now to do that I need to specify a particular WebCam publisher id for a WebCam subscriber. I've been looking in the WebcamPublisher API doc andfrom what ...

Views

133

Likes

0

Replies

0
Unable to log in a room as unauthenticated user
Avatar
Ignite 5
Level 2
smikb
Level 2

Likes

0 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Ignite 5
Give Back 10
Give Back 5
Ignite 3
Give Back 3
View profile
smikb
- Adobe LiveCycle
Hi, I was just trying out a simple WebCam publisher/subscriber example and in it I'm trying to log into a room (having autoPromote and guest to knock settings set to true) as an unauthenticated user. I'm giving the following:But when I run the example as web-appliction and try to publish my webcam and subscribe the same feed back i don't get anything.Also using the LCCS navigator AIR app, when I login to the room as the owner I don't see any other user(the unauthenticated user) logged in.Am I do...

Views

1.5K

Likes

0

Replies

6