¿How can I publish a Camera with a different UserID?

First of all, Happy New Year 2011!
I've tried WebcamPublisher webCamPub.publish("userPublisher") method to publish a WebCam to a room with a different user that the "myUserId" logged at the session, but the subscribers attached to the room they never receive the video. If I check the Room console I can see the new  user has been created and the camera stream assigned. If i use the normal Publisher-Subscriber example with webCamPub.publish() everything works correctly. One difference, on the normal example when I publish the Publisher, the Flash Player Configuration will ask me permision to access the Camera, but on my new code i will never be asked for this access. It looks like if a Camera start is needed to be executed. ¿What am i missing?
Here is my specific code
           private function onCreationComplete():void
                    cSession.roomManager.autoPromote = true ;
                    cSession.roomManager.guestsHaveToKnock = false ;
                    userPub1= new UserDescriptor();
                    userPub1.userID="userPublisher";
                    userPub1.displayName="userPublisher";
                    userPub1.role=100;  //Tried also with 50 obtaining the same behaviour
                    cSession.userManager.createUser(userPub1);
                    sharedProperty = new SharedProperty();
                    sharedProperty.isSessionDependent = true ;
                    sharedProperty.sharedID = "webcamShare" ;
                    sharedProperty.connectSession = cSession ;
                    sharedProperty.subscribe();
                    sharedProperty.addEventListener(SharedPropertyEvent.CHANGE,onChange);
I've tried to create the Publisher  on two different methods.
            private function onChange(p_evt:SharedPropertyEvent):void
                    if ( webCamPub != null ) {
                        webCamPub.close();
                        webCamPub. = null ;
                    webCamPub = new WebcamPublisher();
                    webCamPub.connectSession=cSession;
                    webCamPub.sharedID="webcamShare";
                    webCamPub.publish("userPublisher");
            private function onBtnClick(p_evt:MouseEvent):void
                    if ( p_evt.currentTarget.label == "Start" ) {
                        webCamPub.connectSession=cSession;
                        webCamPub.sharedID="webcamShare";
                        webCamPub.publish("userPublisher");
                        webCamPub.initialize();
Here also is a part of the code of the Webcam example that is working ok.
if ( p_evt.currentTarget.label == "Start" ) {
                        webCamPub.connectSession=cSession;
                        webCamPub.sharedID="webcamShare";
                        webCamPub.publish();
<rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%"
         height="100%" roomURL="https://collaboration.adobelivecycle.com/xxxx/yyyyy">
         <mx:Panel title="Webcam Example" width="100%" height="100%"
                    paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" creationComplete="onCreationComplete()">
              <rtc:WebcamPublisher id="webCamPub" width="10" height="5" resolutionFactor="5"/>
            <mx:VBox width="100%" height="100%" id="clickedContainer"/>
                <mx:HBox horizontalGap="10" verticalGap="15" paddingLeft="10" paddingTop="10" paddingBottom="10" paddingRight="10" width="100%" height="25%">
                <mx:Repeater id="rp" dataProvider="{cSession.userManager.userCollection}" width="100%" height="100%" >
                <mx:VBox id="vbox1" width="100%" height="15%" horizontalAlign="center" horizontalGap="5">
                            <rtc:WebcamSubscriber id="ws1" webcamPublisher="{webCamPub}" width="100%" height="100%" publisherIDs="{[(rp.currentItem as UserDescriptor).userID]}" click="onClick(event)" userBooted="onBooted(event)" streamChange="onCameraPause(event)"/>
                        <mx:Button id="b1" label="Start"  click="onBtnClick(event)"  visible="{(rp.currentItem as UserDescriptor).userID==cSession.userManager.myUserID}" />
                       </mx:VBox>
                </mx:Repeater>   
            </mx:HBox>
    </mx:Panel>
</rtc:ConnectSessionContainer>
I can attach my complete code if you think is usefull. Thanks in advance.

Hello - taking a look at your account, it's listed as free due to your crative cloud connection. Where are you seeing that you need to upgrade for publishing? Looks good on my end and your site is live!

Similar Messages

  • HT1420 how can i deauthorize ONE computer with a DIFFERENT COMPUTER

    how can i deauthorize ONE computer with a DIFFERENT COMPUTER?

    You can't without being at that computer, you can only deauthorize all.

  • How can i format an iphone with an differant apple id ?... the phone is locked and it needs the original apple id to activate it which i dont have

    how can i format an iphone with an differant apple id ?... the phone is locked and it needs the original apple id to activate it which i dont have .... help me

    Moh&#39;d . Hassan wrote:
    how can i format an iphone with an differant apple id ?... the phone is locked and it needs the original apple id to activate it which i dont have .... help me
    Then get the previous owner to remove it: Find My iPhone Activation Lock: Removing a device from a previous owner’s account - Apple Support

  • How can I use USB camera with NI cRIO 9022, please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    Host Computer Image or Vision Acquisition Software Installed.JPG ‏91 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    When you select My Computer, you are running the program on the PC.  In this case, the camera works because it is connected to the PC.  The scan engine doesn't work because it needs to run on the cRIO, not the PC.
    When you create the program on the cRIO, you can use the scan engine because the program is on the cRIO.  You can't use the camera because it is back on the PC, and can't be found on the cRIO.
    The project is a wonderful tool, but it may be making the programming seem too simple.  It may not be clear to you that by moving a program to a different location (PC or cRIO), it is running in an entirely different environment on a totally different machine, even though it is just a little further down in the project.  You can't easily access the hardware on one machine while running the program on the other.
    So the summary is:  The camera is attached to the PC.  The scan engine runs on the cRIO.  Never the twain shall meet.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can I publish to FP11 with h.264 encoding?

    Hi, I want to build an application to stream h.264 video from the browser, how can I be able to do this? I can't seem to find the playerglobal.swc anywhere, I have Flash CS5.5 , any clue? I apprecciate the help, thanks!
    -Alex

    Nevermind, found the link here: http://forums.adobe.com/message/4029395
    Thanks,

  • How can I publish a website to a different domain name other than .mac

    I have a domain name with godaddy.com and I want to publish a website design with iweb. How can I do it?

    You need to sign up with a web hosting service and then upload your published files using an FTP application.
    Read more here....
    http://homepage.mac.com/thgewecke/iwebserver.html

  • How can I pay for storage with a different account then iCloud

    Hi,
    I used to live in Hong Kong, so my iCloud ID is under HK.
    Recently I moved to Canada, so I made an account for the Canadian App Store, and only have a credit card on that account.
    I wanted to buy 20GB on iCloud, but it's showing me the rates in HKD. How can I get it to pay with the CA account in CA rates? If this involves switching iClout account, how do I do it and how can I transfer the back up?
    Also is it possible to pay using debit? I would much prefer to pay with debit.
    Thanks in advance!

    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.
    When using iTunes  Store scroll to the bottom of the page. On the right is a circled flag. If it isn't a Maple Leaf, then click on and select the Canadian store. Be sure to sign in with your Canadian Apple ID and into your Canadian account.

  • How can i sync my ipod with a different computer than i previously used, how can i sync my ipod with a different computer than i previously used

    i have an ipod nano that when i plug it into my computer it does not register, how can i get it to where i can sync in to itunes?

    you must authorize a computer to sync it to iTunes.  Have you already authorized that computer?

  • How can I publish a ical to a different website?

    I have a .mac account, but I would like to make this available on my "regular" website, I don't see that option in the publish pull down..????

    Through iCal, you can only publish your calendar on .Mac or a webDAV server. But, I did some searching at VersionTracker, and found iCal FTP for publishing your calendars to an FTP site. Search around a little more at VersionTracker and you may find something else.

  • How can I "import" Facetime Camera with external USB microphone?

    In Final Cut Pro, there's an option to "import" the FaceTime Camera. BUT, it only works with the built in mic on my laptop.
    I also found a window for recording audio voiceovers That one lets me pic the mic, but doesn't have an option for video.
    Is there a way to do this (in FCPX 10.1.1)
    Thanks!
    - Jack

    I don't think you can do it with FCPX (I don't have a FaceTime camera and my webcam doesn't seem to work). But you can import with QuickTime Player X. Just open the app and select File->New Movie Recording.
    Once you have a recording window open, you'll see a downpointing arrow in the controls box (see red circle in attached image. In that menu you can select the camera and audio input separately.

  • How can I use the camera with yahoo chat?

    I can't use Yahoo Chat client with the built in camera on my Macbook Pro. Anybody have any suggestions?
    Much thanks,
    Skitbraiking

    Actually I am using the Tradional Chinese Version, when I try to edit the jpg file with camera raw, the system shows that there is no camera raw plug-in. The cmaera raw never work.

  • Please help- How can I publish an object with irregular getter/setter metho

    I'm encountering a problem with weblogic 9.2 web service. Here it is the description:
    I have a java class which doesn't expose getter/setter method, Like this:
    public class MyEntityList
    implements Cloneable, Serializable
    private Map subEntityMap;
    public final Object[] toArray()
    return subEntityMap.values().toArray();
    public final Iterator subEntities()
    return subEntityMap.values().iterator();
    public final GFIBaseSubEntity getSubEntityByKey(String key)
    if(key == null)
    return null;
    else
    return (GFIBaseSubEntity)subEntityMap.get(key);
    public final void setSubEntity(GFIBaseSubEntity entity)
    subEntityMap.put(entity.getKey(), entity);
    When I publish this object out, the web service engine will not parse the value in this object for it hasn't getter methods. But I do need the value in it, and I can't change the class for it's from external system. Can I define my own serializer class to process the MyEntityListin weblogic 9 or 10? Or is there any way to process this case?
    Thanks in advance

    In 1.4 you have ImageIO available ... javax.imageio.ImageIO.write is the method to call.
    - David

  • How can I sign into iMessage with a different Apple ID?

    I setup iOS5 and got it running. I used all my existing AppleID info.
    Once it was running I decided to do some personal housekeeping and went to AppleID.Apple.com to clean up my various emails and to set my appleid to a email address that I actually am using.
    I made the change and I was able to update to the new main ID in facetime but I can't login to iMessage anymore. It just keeps asking for the password to my old AppleID and won't allow me to put in the new ID.
    How do I get iOS5 to forget the old iMessage ID?
    Any advice would be great!
    (I must add: This has been the MOST problematic update I've ever done with Apple - I had difficulties with my iPad2, iPhone 3Gs AND my AppleTV Gen2)
    Jason

    Go to Settings>iCloud and change the email address.  You can change the password there, too.
    It took me some time to find it, too, but they seem to be two names for the same function.

  • How can I set up imessage with a different email

    I  needed to change my email and Apple ID. Now my daughter's imessaging won't work b/c it  it was associated with my old account. 

    It sounds like you're trying to set your daughter her own account? Create one at https://appleid.apple.com/ and set it up on her iPad Mini. Now - if you want to transfer over the email address she was using on your account, to her new one, so her friends can still get in touch/don't need to learn a new email...
    Disassociate the email from your old account...
    Log into your old apple id https://appleid.apple.com/
    Then, under alternate email addresses, remove the one she uses.
    Associate with the new account...
    Log in to her account https://appleid.apple.com/
    Press +email address and enter it
    After verifying it, go to the iMessage settings on the iPad (settings > iMessage)
    Then, make sure you tick the new email address to receive messages, and ensure that 'start new conversations from' matches the new address.
    All being well, your daughter shouldn't notice a difference. This also future proofs it, she won't be forever tied to your Apple ID when she leaves home etc...
    However, now she's on a new account - you won't be able to share purchases - I don't know if you want to? If so.... you can setup Family Sharing! It's super easy and means you can access each others content. Enjoy!
    Family Sharing - Apple Support

  • How can I add a curve with a different sample rate behind another curve to show it like one in the report

    I saved two curves with different sample rates with signal express in waveform.
    Now I want to add the curves behind and show them in a report. 

    Hello MReizner,
    Both the DIAdem VIEW and REPORT panel use the time information from your Waveform channels (make sure they actually have the waveform symbol, not the numeric data channel symbol in the Data Portal) to plot the data in the same axis system.
    In the example below I have two waveforms, one sampled at 5 Hz and one sampled at 1 Hz, both in the same axis with the same time channel. All I did was drag the data from the Data Portal onto the axis. DIAdem automatically takes care of creating the correct time channel and plotting the data with the correct points if the data is stored as a waveform.
    I hope this answers your question, please let us know if further clarification is required ...
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

Maybe you are looking for

  • Can't see the logical system set up via Gui PI while build up business syst

    Hi all:     I set up a logical ssytem via Sale via PI Gui----ECC800, but when build up business systems ECC800, I cann't see ECC800.  it seems that we need to synchronise it through Gateway, Could you please tell me how in detail?     Thank you very

  • Exec-timeout doesn't seem to work

    I've been having a devil of a time getting exec-timeout to clear idle vty/ssh sessions. This investigation started when we were rolling out new Catalyst 4507R+E switches with Sup7L-E's under IOS XE 03.04.02.SG (what they shipped from the factory with

  • OIM 11g R1 - Uploading photo

    Hello, is it possible to upload photo for the users inside OIM 11g R1? I didn't find an attribute for that.

  • File T3 in Weblogic 6.0

    Hi, I am trying to use the File T3 service in weblogic 6.0 and have created a file system named 'myFileSystem' and assigned the path './config/mydomain/logs'. This file system is used by a class (works fine in weblogic 5.1). I am including the code s

  • Function Module Reqd

    Hi All, I am trying to fetch the amount(WRBTR) from Accounting Document using the billing document number. Is there any function module that i can use for this. Regards, Karthik