How to detect webcam streams without receiving ones

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.streamPublisherID);
And STREAM_RECEIVE called when another user started to publish, but event has groupName=null and streamPublisherID is NULL too.
I need this to give posibility to choose streams needed to play and lower bandwith.
I've tried to use WebcamSubsriber too, but it starts to display stream right when it is received.
What have i missed?

Oh ok. If you do not by default want to see the other user's stream, you should set initially the publisherIDs property in the WebcamSubscriber to an empty array( not just leave it as by default, it shows every stream). Now, let's say when you get a stream from an user by listening to StreamManager's STREAM_RECEIVE , then you would have to assign publisherIDs array to have that publisherID of the stream that you want to see and it will start showing that user's stream. You need to listen to StreamManager ( and not subscriber) in this case because the subscriber won't know beforehand whether it has to show that stream and won't dispatch the STREAM_RECEIVE event.
Thanks
Regards
Hironmay Basu

Similar Messages

  • How to establish BGP Neighbourship without receiving BGP routes ?

    Hi All,
    I would like to establish BGP Neighbourship between my internet router and ISP router.
    However I would not like my internet router to receive millions of bgp routes from the ISP router but my inside users should access internet via my internet router.
    Kindly suggest how to do it.
    Regards,
    Mitesh Manwatkar.

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Also depending on you setup with your ISP, you might not need BGP at all.  Sometimes the ISP will advertize your public IP space (i.e. you don't need to), and if they do, all you need is a default route out.
    PS:
    Also BTW, often for basic ISP connectivity, even when BGP peering with your ISP, the ISP will not send you any routes but a default (because with a single link, there's no need for them).

  • How to create a JBOD without formatting one of the hard drives

    Hi,
    I'm using a QWC Mercury Elite Pro external hard drive with 2 500Gb hard disks as my video scratch disk. I have configured them as 2 separate disks and been using CCC to copy the 1st drives content to 2nd drive. Now, the 1st drive is almost full. I'm planning to JBOD these 2 drives into a single drive but I don't want to format the drive with 500GB of video in it. Is it possible to do that?
    Basically, I would like to add another 500GB hard disk to my current 500 Gb disk (which is full) and see them as a single drive without formatting the current drive.
    Thanks.
    Ucan

    to JBOD these 2 drives into a single drive
    You just said a nonsequitor.
    to JBOD two drives
    is to make them into two separate distinct drives with no RAID configuration applied to them.
    Do you want them to act as a single cohesive drive unit, or one where files get copied automatically between the two of them in some RAID configuration? I know JBOD configurations quite well, but RAID I'm not too familiar with.

  • How to detect Caps Lock without pressing any keys

    I am trying to make the password login and would like add this feature to my website and don't know how to do it.
    I wrote the code below to detect the Caps Lock but it couldn't detect the cap lock at start up.
    if(flash.ui.Keyboard.capsLock){trace("CAP WAS ON")}else{trace("CAP WAS OFF");};
    The result for this code is always return "false" unless I put this code in the eventlistener and have to press the keyboard

    you must wait a moment for your stage to initialize.  use a delay of 1ms or so to check for caplock.

  • How to Record Internet Stream without loss of Quality

    There is a radio station that streams content as AAC, 320 kbps.  If I record this with Audio Hijack, it converts it to aif. Is there a way to record this preserving the ACC format and 320 bitrate?

    Well, you can bring it up with Apple since they control this web site and what we can discuss here and not:
    https://discussions.apple.com/___sbsstatic___/apple/tutorial/tou.html

  • Implement Oracle Streams without having Primary Keys

    In our environment, we can't create primary keys so anyone know how to implement oracle streams without having primary keys on the tables.
    Thanks,

    You can JOIN tables on any compatible columns or functions (like LEFT (PONumber,10) ):
    http://technet.microsoft.com/en-us/library/ms191517(v=sql.105).aspx
    BOL: "When the (ON) condition specifies columns, the columns do not have to have the same name or same data type; however, if the data types are not the same, they must be either compatible or types that SQL Server can implicitly convert. If the data types
    cannot be implicitly converted, the condition must explicitly convert the data type by using the CONVERT function. "
    LINK:
    http://technet.microsoft.com/en-us/library/ms177634(v=sql.105).aspx
    Typically tables are JOIN-ed on FK-s and PK-s.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How get all photos from photo streams without iPhoto

    Hi to make A long story short, I lost a Hard Drive with iPhoto on it... Including all my baby's pics ... However I can still see them in the photo streams on my idevices.. First off without that Mac how can just grab all the photos off photo stream without iPhoto?
    Secondly, if I can install iPhoto on another machine or drive will that help or hurt me? Will all the photos show up under my Apple ID and can I just copy them or am I running any risk of deleting the streams?
    Is my only option to copy photos from photo stream a few at a time? And does that not repush them back up to the stream and erase older photos?
    Thank you for any help!!
    Yes I know I am a complete idiot for not backing up or using online backup service... 

    If you create a new library on another Mac, set its Photo Stream preferences to
    and log into your iCloud account on that Mac and enable Photo Stream,  the Photo Stream photos will automatically be imported into the new library. It can take a while depending on how many photos are in the stream.
    When you're done log out of your iCloud account and copy the library to a flash drive or DVD (if small enought) till you get your new drive. 
    OT

  • How do I close all tabs at one time without closing Firefox completely?

    How do I close all tabs at one time without closing Firefox completely?

    Open a new window. Go to the other window with all the tab. Close it. You now only have that newly open window.
    Hub

  • How to import multiple XML files into one inDesign document without copy/paste ?

    I use InDesign CS6, and I have several XML files with the same structure. Only the data are different.
    I created  an Indesign layout with some tagged placeholder frames on merge mode, for automated layout.
    Today for each XML file I have to create a new InDesign document to import the XML. Everything works fine. Then in order to have all Indesign layouts one after the other into a single Indesign layout, I have to use the copy/paste function.
    I mean for example, copy the contents of all documents to the first one. Or add pages of other documents to the first one, then delete spaces between each page.
    So my question is the following:
    How to repeat this process without copy/paste function, knowing that the
    number of XML files could be unknown.
    Thank you very much for your answer.

    Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
    I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
    My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
    Thanks for the quick reply

  • How do I delete multiple duplicates of songs in my playlist without doing one at a time.  Windows 7 on HP.  Lexmac

    How do I delete multiple duplicate songs from my playlist without doing one at a time?
    <Edited by Host>

    I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • HT201365 I recently updated my Ipad 2 with iOS7 and I suddenly have 794 emails in my inbox which were previously read and deleted.  how do I get rid of them without doing one at a time?

    I recently updated my Ipad2 to iOS7 and suddenly have 794 emails in my inbox which were previously reviewed and deleted.  How can I get rid of them without doing one at a time?

    You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup.  If you haven't been doing this, start now and then restore your old backup.  You will then be able to sync the new contacts back into the phone.  However, you will lose all messages, etc newer thant the backup.

  • Every song in my library is duplicated.  How do I delete the duplicates without doing one at a time?

    How do I delete duplicate songs in my library without doing one at a time?

    Apple's official advice on duplicates is here Find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership, or that sometimes the same file can be represented by multiple entries in the library and that deleting one and recycling the file will break the other.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background, this post for detailed instructions, and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)
    The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to and should cope sensibly when the same file has been added via multiple paths.
    tt2

  • My 10 yr old wants to text from his iPod touch. We have 1 family Apple ID. How can I monitor his texts without receiving all of his friends messages? Do I need a separate Apple ID or can I link a new email address to the same Apple ID?

    My 10 yr old wants to text from his iPod touch. We have 1 family Apple ID. How can I monitor his texts without receiving all of his friends messages? Do I need a separate Apple ID or can I link a new email address to the same Apple ID?

    Just an email address
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • How can you record stream from a webcam like YouTube does it

    We need to create a webcam stream recorder with FMS which should be able to record stream in some predefined quality (128000/bandwidth,95/quality) and will work also in the situation when the user doesn't have enough bandwidth to transfer this stream in realtime.  YouTube has a solution which is using something like a buffer and when the user stops recording they continue to send video data to the server until the stream is completely recorded.  We are recording the stream from our user's webcam, but when the bandwidth is not consistent or not enough, we are losing video data and ending up with poor quality recordings. What we need is that the record stream is buffered on the user's computer and the video data continues to be sent to our server even after the user has finished recording so that we end up with the complete stream (video data). We need some idea how to do this - which specific features should we used for this solution?

    Does it have to be a live solution? Or can you have the user record locally and then upload to your FMS server?

  • I have all of my music on my dad's apple ID (on my Macbook pro and iphone). I want to start using my own apple ID (the one that my iPhone uses for everything except iTunes store) as my iTunes apple ID - how do I do this without losing my old music?

    I have all of my music on my dad's apple ID (on my Macbook pro and iphone). I want to start using my own apple ID (the one that my iPhone uses for everything except iTunes store) as my iTunes apple ID - how do I do this without losing my old music?

    Authorize your computer with your Dad's AppleID.

Maybe you are looking for

  • IPhone 3gs wont go past find my iphone setup after update to 5.0.1

    Hi, I have upgraded my iPhone 3gs to IOS 5.0.1. everything seemed to go ok and iTunes restored all my content but going through the setup afterwards (iCloud etc) it stops at 'find my iPhone' pressing next doesnt do anything. any ideas?

  • Is there a way to make the view window on mail display messages with a larger size ?

    I would like to set it up as a default, and not have to zoom in or make larger (cmd +) each individual message. I have tried the font setup, but it does not work. It works for my own messages only. I guess what I'm asking is if the font-setup of the

  • Need Help With Picture

    How can I cutout the background of a picture and save it and be able to paste it over another picture without the background. The picture is not square. I tried clipping path but it didn't work. Please explain in step by step.

  • Illustrator CS4 The hidden tools palette

    For some reason when I hold down the right hand side on my mouse pad to access the hidden tools in the tools palette in illustrator, it shows the alternative tools but wont let me switch to them eg I hold down the right hand pad and can see the smoot

  • How to delete a role from other role.....

    Hi All, I have a query like.... I have created one new role ATH:MDC:INV3 and added two existing roles to that new role on DEV system ie Added ATH:MDC:INV2 + ATH:PUR:PMG0 So,now i need to remove only one role ie ATH:PUR:PMG0 from ATH:MDC:INV3. All the