Multicast Voice Chat - Best Way To Handle (Multicast /w more than one broadcaster)

Hello. Currently I am working on a multicast voice chat application. I am a bit new to the multicast scene and I could really use some help with how to go about the next stage of coding.
The plan is to make an application that allows 5 (expandable later) users to connect to each other through stratus and communicate using voice chat streams. Right now, I have been able to accomplish a typical broadcaster to receiver application, but I am not sure what the best way to go about adding multiple broadcasters is.
I can currently see two real choices. Assign each member in the group a number (or use the ID's) and then create an additional receiving stream for each member that connects, or create 5 differen't group specifiers basically making 5 different instances of the application with one broadcaster and 4 receivers.
If anyone can help me think of a better way, that would be great.
Also, is there a way to find out the total number of users in a group or to access their ID's?
Thanks.

Take a look at the 3 packages that start with "java.util.concurrent", and the methods of java.util.Collections that start "synchronized. . ." and you can probably find something that will work for your situation.

Similar Messages

  • How to handle bdc for more than one transaction?

    how to handle bdc for more than one transaction?

    Hi srk,
    I am providing you with some references below. Hope this prove to be helpful to you.
    Method 1:
    Use one BDC_OPEN_GROUP
    Multiple BDC_INSERT 
    One BDC_CLOSE_GROUP.
    Call function BDC_OPENGROUP.
    Build BDC data and call lBDC_INSERT for transaction 1
    Build BDC data and call lBDC_INSERT for transaction 2
    Build BDC data and call lBDC_INSERT for transaction 3
    paas the tcodes to bdc_insert.
    call function BDC_CLOSE_GROUP.
    Also check this out:
    Here we need to record 2 transactions (shdb).
    Once completion of the recording. Populate the data into input internal table .
    Loop the internal table and process the 2 transactions
    like
    1. BDC_OPEN_GROUP
    2. LOOP AT ITAB
    a. Populate first transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    b. Populate second transaction recording data
    and pass transaction to the BDC_INSERT_GROUP.
    BDC_INSERT_GROUP.
    ENDLOOP.
    3. BDC_CLOSE_GROUP
    the above info can be found at : How to use 2 transactions in BDC?
    Also check this out:
    Suppose u have created recordings for transactions 'MM01' 'XK01' and 'VA01'.
    Then do this:
    bdc_open_group.
    after this we have to fill the bdcdata structure for one transaction.here 'MM01'.
    bdc_insert.
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'xk01'.
    bdc_insert .
    refresh bdcdata.
    after this we have to fill the bdcdata structure for one transaction.here 'va01'.
    bdc_insert.
    bdc_close_group.
    Hope these are useful to you.
    Please reward if any of the above are useful.
    Regards,
    Kalyan

  • [svn] 4916: sdk-14180 Handle updates to more than one field in an item when autoupdates are off .

    Revision: 4916
    Author: [email protected]
    Date: 2009-02-10 13:32:12 -0800 (Tue, 10 Feb 2009)
    Log Message:
    sdk-14180 Handle updates to more than one field in an item when autoupdates are off.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-14180
    Reviewer: ryan
    tests: checkintests mustella:collections
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-14180
    http://bugs.adobe.com/jira/browse/sdk-14180
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as

    Revision: 4916
    Author: [email protected]
    Date: 2009-02-10 13:32:12 -0800 (Tue, 10 Feb 2009)
    Log Message:
    sdk-14180 Handle updates to more than one field in an item when autoupdates are off.
    QE Notes: None
    Doc Notes: None
    Bugs: sdk-14180
    Reviewer: ryan
    tests: checkintests mustella:collections
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-14180
    http://bugs.adobe.com/jira/browse/sdk-14180
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/collections/ListCollectionView .as

  • Are there any way to copy or delete more than one url at a time

    i have a lot of url and i want to copy them to another folder, for now i do it one at a time, so i am wondering can i highlight and cope more than one at a time, and i also want to do this in delete.

    If i ever win a grammy. ill thank u...ok one last thing...is there a way to sort of consolidate tracks? sometimes there are a few...quite a few and some stuff could be on one but i need it to not cut out any of the other parts

  • Isd there a way to have mail use more than one address per person from the address book?

    Have a group in address book and some of the records have more than one email address. Is there a way to have mail use both addresses or do I need to have an individual record for each email I want to send to?

    This article seems to describe a way to do what you want.

  • Handling WebService with more than one operation

    Hi Everybody,
    I have a hassle!
    First of All, I'm Newbie, using Oracle Service Bus
    I have to Implement a WS with aproximately 6 operations, in Service Bus.
    I create my WSD and my XSD Artifacts, with no problem, the issue comes when I try to create My Proxy Service in OSB
    Step 1 .- Create Proxy Service
    Step 2 .- I make a Link from my Proxy Service to my Business Service wich contains the WSDL with the 6 operations
    Step 3 .- I clic on edit the message flow in the actions panel to add route
    Step 4 .- I edit the route looking for a Webservice and selecting the method (In this Case I select one method, because I don't know how to route many operations in one Proxy Service)
    When I did that, my WS in OSB wasn't able to invoke one method. I got a timeout .. I don't know, if maybe I'm doing something wrong!!.
    What I want is a way to route many methods in a same Web Service
    I've done operational bifurcation in the Web Proxy.. With that component, I can choose methods like conditionals, and I can add a route destination for each method.. when I test it .. My OSB WS never reply me an asnwer, I got Timeout. Takes a lot of time
    I also tried to do it with IF ELSE conditionals trying to know the name of the method from the WLS Headers and routing them to a specific webservice method. But I couldn't do it!
    I check the WS out by itself and works in 2 seconds, so it's Working!
    Any clues?, Well I hope you can help me!!
    Thanks in Advance!
    Edited by: user11334562 on 05-ago-2011 17:38

    Pierluigi,
    Thanks for your answer,
    I had to rebuild my OSB project, and refact all my OSB artifacts,
    My Proxy Service, I was trying to do it with my WSDL again, when I already had done in a Business Service,
    So in my proxy I chose the BS instead WSDL and all Works Perfectly using SOAP Content.
    Pretty Thanks!!
    ABC

  • How do you handle it when more than one signature is required on a form?

    We have a situation where we are trying to replace pen and paper where both the employee and their supervisor must sign off on a form before is comes to us.  Do you have a recomended way of accomplishing that?  Could the completion of the first form result in the creation of a pdf that would have a second degital signature?
    Thanks for any and all ideas!

    Hi,
    You may want to check the EchoSign site: https://www.echosign.adobe.com/en/home.html
    and post your question to the EchoSign forum: http://forums.adobe.com/community/echosign
    Thanks,
    Lucia

  • How to handle form with more than one page in struts

    Hai,
    i have more than one page in my struts web apps. each page has a form & i have submit button @ last page. I navigate between these pages using titles. data has to exist when i come back from another page(i.e i am in page1 i have some fields called name & address as textfield, i move to page2 & then i go back to page1 @ that time i should have the name & addess values that i entered previous in the corresponding textfield) & finally when i submit need to get values form all these pages.
    Plz tell me how to do this.

    Hi prasadmca ,
    1.Try to store those value in session variable
    2. or else store those value in DB

  • Best way to handle multiple currencies

    I have a requirement that users should be able to report against an OLAP cube in a currency of their choice (from a list of about 20) and was wondering what the best way to handle this might be.
    One option would be to have a currency dimension containing the list of valid currencies and then to pre-calculate measures in each of the currencies and store them in the cube. However the downside of this is that the resultant cube would be 20 times larger than a cube in a single currency, take longer to maintain etc. I could of course partition the cube by currency to improve reporting performance since users would only report in one currency at a time.
    Another alternative would be to dynamically calculate the measures based on exchange rates - I guess this could either be done in the cube itself or as part of the reporting code. However since exchange rates are daily, this would obvioulsy prevent me from aggregating data up the time dimension (all measures are at the day level).
    Is there any standard way of doing this and what are the pro's and con's?
    Thanks,
    Chris

    Sorry - messed up - I should have posted this in the OLAP forum.....

  • Best way to handle tcMultipleMatchFoundException

    Can any one tell me what is the best way to handle tcMultipleMatchFoundException during Reconciliaiton.
    One way which i know is to manually correct the data. Apart form is there any way..?
    Thanks,
    Venkatesh.

    Hi,
    I've done a great deal of work with mobile accounts in Snow Leopard and I'm now having a "play" with Lion. To be honest you have to sit down and think about why you need mobile accounts.
    If your user only uses one computer then your safer having a local account backed up by a network Time Machine, this avoids the many many woes that the Servers FileSyncAgent brings to the table.
    If your users are going to be accessing multiple computers on the network and leaving the network then a mobile account is good for providing a uniform user experience and access to files etc. However, your users will have to make a choice as to whether they want their iPhoto libraries on one Local machine (backed up by Time Machine) or whether they want their library to be hosted on the server and not part of the Mobile Home Sync schedule (adding ~/Pictures to the excluded items on the home sync settings).
    With the latter, users will be able to access their iPhoto libraries on any computer when they are within the network (as it's accessed from the users server home folder).
    With the first option the user would have their iPhoto library on one computer (say the laptop they used the most) but then would not be able to access it from other computers they log on to.
    iPhoto libraries are a pain, and I'm working hard to come up with a workaround. If your users moved over to using Apeture then you could include the aperture library as part of the home sync thanks to Deeport (http://deepport.net/archives/os-x-portable-home-directories-and-syncing-flaw-wit h-bundles/)
    He does suggest that the same would work with IPhoto libraries - but it doesn't for a number of mysterious reasons regarding how the OS recognizes thie iPhoto bundle (it does so differently compared to Apeture).
    Hope this helps...

  • How to handle more than one message coming from an async BPEL in a sync BPEL process?

    Here is the scenario,
    Sync process A is calling an Async process B and Async process B  is developed in such a way that it is returning more than one message to sync process A, how you will handle those messages in sync process A?

    As durga said, its a wrong design, you will have issues in real time. You wont get the response back most of the time. It can be otherway around, async is waiting for sync process.
    Change your design or provide what is your use case below, we can think of which design suits you.
    Thanks,
    Vijay

  • (workflow question) - What is the best way to handle audio in a large Premiere project?

    Hey all,
    This might probably be suitable for any version of Premiere, but just in case, I use CS4 (Master Collection)
    I am wrestling in my brain about the best way to handle audio in my project to cut down on the time I am working on it.
    This project I just finished was a 10 minute video for a customer shot on miniDV (HVX-200) cut down from 3 hours of tape.
    I edited my whole project down to what looked good, and then I decided I needed to clean up all the Audio using Soundbooth, So I had to go in clip by clip, using the Edit in SoundBooth --> Render and Replace method on every clip. I couldn't find a way to batch edit any audio in Soundbooth.
    For every clip, I performed similar actions---
    1) both tracks of audio were recorded with 2 different microphones (2 mono tracks), so I needed only audio from 1 track - I used SB to cut and paste the good track over the other track.
    2) amplified the audio
    3) cleaned up the background noise with the noise filter
    I am sure there has to be a better workflow option than what I just did (going clip by clip), Can someone give me some advice on how best to handle audio in a situation like this?
    Should I have just rendered out new audio for the whole tape I was using, and then edit from that?
    Should I have rendered out the audio after I edited the clips into one long track and performed the actions I needed on it? or something entirely different? It was a very slow, tedious process.
    Thanks,
    Aza

    Hi, Aza.
    Given that my background is audio and I'm just coming into the brave new world of visual bits and bytes, I would second Hunt's recommendation regarding exporting the entire video's audio as one wav file, working on it, and then reimporting. I do this as one of the last stages, when I know I have the editing done, with an ear towards consistency from beginning to end.
    One of the benefits of this approach is that you can manage all audio in the same context. For example, if you want to normalize, compress or limit your audio, doing it a clip at a time will make it difficult for you to match levels consistently or find a compression setting that works smoothly across the board. It's likely that there will instead be subtle or obvious differences between each clip you worked on.
    When all your audio is in one file you can, for instance, look at the entire wave form, see that limiting to -6 db would trim off most of the unnecessary peaks, triim it down, and then normalize it all. You may still have to do some tweaking here and there, but it gets you much farther down the road, much more easily.Same goes for reverb, EQ or other effects where you want the same feel throughout the entire video.
    Hope this helps,
    Chris

  • Best way to handle text files in OD10g

    We have a requirement to store reports in text format into a database field, to be able to view the reports, and to print them if desired using Forms 10g. What is the best way to handle this?
    - define the field in the database as clob or blob?
    - if CLOB is the choice, what tools to use to upload CLOBs to the database (since webutil transfer is for blob only)?
    - in Forms 10g, can one use the Forms data type LONG for CLOB?
    - can you do Forms search on clob and blob fields?
    - how can reports that are stored in fields be viewed without first downloading to the client workstation?
    - in Forms 10g, what is the best way to view text files residing in local PCs: "host notepad myFile"?
    Thanks much for your reply!
    gk

    Take a deep breath. Relax. All is fine.
    iDVD does not look at the size of your video file, it looks at the length. iDVD can accomodate up to 2 hours of movie
    iDVD gives you different options depending on the length of your movie. Although I won't agree with your friend about reducing the length of your movie to 15 minutes, if you could trim out a few minutes to get it under an hour that setting in iDVD (Best Performance though the new version may have renamed it) gives you the best quality. Still, any iDVD setting will give you good quality even at 64 minutes
    In FCE export as Quicktime Movie NOT any flavour of Quicktime Conversion. Select chapter markers if you have them. If everything is on one system unchecked the Make Movie Self Contained button. Drop the QT file into iDVD

  • Best way to handle all erros and get performance(OCI)?

    Hi there,
    Im using[b] Oracle Call Interface to execute batch file process. But I have got a problem.
    I set ExecuteBatch with the same number of commit time, i.e: 100, 1000 or just 10, for thats ok.
    ((OraclePreparedStatement)globalStmt).setExecuteBatch(commit);
    And I handle executeUpdate to catch all SQL Exceptions. I made some proposital files with invalid erros but when I handle "executeUpdate" it�s doesn�t get the corrent error line, and puts out another line that is corret.
    ((OraclePreparedStatement)globalStmt).executeUpdate();
    Check in the code I concluded that its always get the same sequence of commit number like the error line. For example, I have between line 1 - 50 a line error, this line is 31, but I set the commit time for 50, its show me that line errror is 50 wherever 31. But if I put setExecuteBatch with '1' so it can handle corret lines erros, but the system performance bring down. What is the best way to handle all erros and keep the perfronace?
    Sorry for my english, I am not native. Thanks all.

    So by doing this, everything will transfer and look exactly the way I have it on the old machine?
    That is correct, if your old machine is Intel based after using MA the new machine will look just like the old machine. Here is information from Apple on MA, I'd recommend looking it over.
    My recommendation is to answer NO when setting up the new machine when it asks "Are you moving from another Mac?" The reason being let you new machine get set up and run for a couple of hours to ensure it's fine. Then launch MA and follow the prompts, it's very easy and if you use a fast connection like FW it should go smoothly.
    Regards,
    Roger

  • Best way to handle when Production XI is in outrage/down

    Hi All,
    My production box is running smoothly now.If we want to go for any outrage and still we will be receiving many messages through internet from many partners.
    So we are expecting how to receive the messages when production XI is in outrage. My client is thinking of putting one more instance with the replica of Production box. So that when the main production is in outrage then immediately they can switch back to this replica version and they can process the messages untill the main one get ready.
    Now I am very much concern what are the implication will be if we go like this.
    1. which is the best way to handle XI box to maintain when the system is outrage/down?
    2. Is it a good idea of creating replica of production instance and maintaing this when the main one is in outrage?
    Kindly suggest what you guys are doing for your implementations.
    Thanks
    Seema

    >
    > 1. which is the best way to handle XI box to maintain when the system is outrage/down?(An act of extreme violence or viciousness)
    >
    XI Box - Outrage -Should be a robotic XI Box. Now I know that you are thinking what to do when cops come and handcuff it. -- Just kidding..
    Ok, here's the logic, you want to replace a piece of water pipe that gets water to your faucet. What do you do without the water leaking or disrupting the water supply... you either turn off the valve or add a temp pipe to keep the water flowing..
    So check into your sys landscape for Fail safe or High Availability, may be one of those can save you money and time.
    AB

Maybe you are looking for

  • Using comments feature in Pages 5.2

    I'M IN A CRITIQUE WRITING GROUP AND WE NEED TO MAKE COMMENTS ON EACH OTHER'S WORK. WITH PAGES 09, I COULD USE COMMENTS EFFECTIVELY...THEY WOULD SHOW IN THE MARGINS OF THE PIECE I WAS GIVING FEEDBACK FOR AND THE COMMENTS WOULD PRINT UP. NOW WITH THE M

  • RSS portlet Error!

    Hi, I am using the RSSPortlet 1.0 downloaded from Sun's site. I have deployed it in Open Portlet Container but its giving out an error!! Invalid URL, please re-enter Invalid XML: Error on line 4: The element type "meta" must be terminated by the matc

  • Transferring from After Effects

    I am trying to key out a green screen using After Effects.  The program itself does a better job with the footage I am using than FCP.  After I finish my work I am having trouble importing the footage back into a file that FCP can read.  Does anyone

  • Audio is missing when I export longer mp4s from After Effects File via AME. Can you help?

    I'm using After Effects to colour correct and add some titles to long .mov files. (typically 45 mins to 1.5 hours in length). I am then rendering out to the Vimeo 720 25 preset (.mp4s with h.264) using AME. The problem occurs when I try to render out

  • Website template download working intermittently. Why?

    Hi Guy's, I have just downloaded a website from a Serif based website template company - http://seriftemplates.com/parallax-demo.html. This is a demo and I have not launched the site myself as it is not quite complete. The navigation in the demo work