Mix two DataSources

Hi all, anyone can help me, I work with:
a. - a DataSource for the capture of microphone
b. - another DataSource is obtained from ReceiveStreamListener
- I want to do is mix of both DataSource and transmit using RTPManager.
1.- The DataSource (a) and (b) should be mixed use (Manager.createMergingDataSource ())?.
If so, the DataSource that I use in (a) is:
- That used to create the Processor (Manager.createProcessor (ds_Mic)) or
- Output Processor (processor.getDataOutput ()).
2.- You can do this at runtime or should be stopped Processor (Processor.stop ())?
3.- this mixture would create two streams, so I use: createSendStream (dsMix, 0) and createSendStream (dsMix, 1)?

3.- this mixture would create two streams, so I use: createSendStream (dsMix, 0) and createSendStream (dsMix, 1)? So you're taking 2 separate streams, merging them, and then transmitting them as separate streams...
Begs the question, why did you merge them again?

Similar Messages

  • How to merge two DataSources?

    Hi all!
    I'm trying to merge 2 dataSource into 1. I'm using createMergingDataSource() method, but it didn't work and I've 2 questions:
    - Does this method mix the DataSources or only concatenate it?
    - I don't know if I'm doing the right steps. Does anybody know it?
    Thanks in advance! :D

    Hi Captfoss!
    I tried to send two SendStream on the same RTPManager but I didn't work. Because When I receive this stream in other computer the sound is not good. Any idea? I tried to merged the dataSources previously too, but It seem to send only one.
    On other way, you said me that I was creating the sendStream bad, because of the index. The process to create a SendStream is this:
    outputDS = (DataSource) outputProcessor.getDataOutput();               
    outputProcessor.start();
    sendStream = RTPmanager.createSendStream(outputProcessor.getDataOutput(),0);          
    sendStream.start(); You told me that I should use the index 1, but when I tried that It throws me a NullPointerException. Any idea??
    Thank you very much!:D

  • How to join two DataSource in a single InfoSource

    Hello,
    I have got two datasources which both share the same primary key (Field IDCO) and also have several individual fields. For example:
    Datasource 1:
    | IDCO | price |
    Datasource 2:
    | IDCO | amount |
    Now I would like to join both datasources into a single InfoSource that should look like:
    | IDCO | amount | price |
    In plain SQL I would do something like
    Select ... from datasource1 inner join datasource2 on datasource1.IDCO = datasource2.IDCO
    Any ideas how this can be achieved be achieved in the Data Warehousing Workbench?
    Best Regards
    Christoph

    Hi Christoph Außem, welcome to SDN world....
    Steps:
    1. Create a InfoSource with  |IDCO | price | amount -  InfoObjects. then map Datasource 1 with InfoSource here Mapping is like below..
    DataSource1-IDCO = InfoSource-IDCO
    DataSource1-Price  = InfoSource- price
    EMPTY (NULL       )  = InfoSource- Amount
    DataSource2-IDCO = InfoSource-IDCO
    DataSource2-Amount  = InfoSource-Amount
    EMPTY (NULL       )  = InfoSource- Price.
    In this wasy you can map the fields and InfoObjects.
    Thanks
    Reddy

  • Best way to join information from two datasources??? pls help

    Guys Please help in understanding the basics of modelling in terms of best practises in SAP-BI
    I have two datasources. One is standard Bussiness content datasources 2LIS_02_ITM ( having PO item level data)  and the other is a generic datasource on table EBAN (having PR details). Now all my report requirements are on both PO and PR information.So i need to club these datasources or its corresponding DSO's  or its corresponding cubes.
    Please suggest the best of the following solutions:
    solution 1 and 2
    2LIS_02_ITM -
    > DSO1 -
    > PO cube
    Gener Datasourceon EBAN -
    > DSO2----
    > PR Cube
    solution one is to go and build multiprovider joining with PR no in either cubes
    solution two is to go and build infoset joining with PR no in either cubes
    solution 3
    2LIS_02_ITM -
    > DSO1 -
    > cube
    Gener Datasourceon EBAN -
    > DSO2
    while populating data from DSO1 to cube we lookup on to DSO2 and read the PR data , thus consolidating both PR and PO data in the cube
    solution 4
    Here i can plan to combine two datasources 2LIS_02_ITM ,Gener Datasourceon EBAN into one infosource.
    (2LIS_02_ITM ,Gener Datasource on EBAN)---->infosource->DSO-->cube
    solution 5
    i can club both PO and PR information at the  r/3 side only into a  view and build a  generic datasource on that... then bring the whole data into one DSO and cube and report on that....
    Please do help me guys.... i will award points to all who adds some imp information.

    Hello Venkata
    We use approach
    1/2 when we have different data comming fromsource and data amount is huge and lot of transformation is there
    3 You can use this approach here but lookup in other ODS is also time consuming also any changes which may be done in future wouldd need corresponding changes in the ODS
    4. We should always use infosource even if BI/7 as it provides very much flexibility and scalability...but when u r combining these two DS you need to make sure u r extracting proper record
    I dont know if you are talking abt extractor enhancement in this point...i would suggest if no. of field to be enhanced is less than u can go for it...
    5. IOfcourse u can create a view but its better to enhance extractor becuae SAP has already provided DS for 2LIS_02_ITM...
    We have done the same thing but we were having only 7-8 PR fields ...so we just enhanced the structure.......
    Thanks
    Tripple k

  • Contact Two Datasources in Weblogic 10 in a single transaction

    Hi,
    my requirement is to create two datasource which points to two different schemas of oracle 10 g database.
    In a single transaction i may be in requireemnt of contacting both the datasource to get respective db connection and do a insert/update.
    I created two datasources A and B which use Oracle 9 thin driver.
    When my application starts my app is able to get connection of datasource A and unable to get connection on datasource B. what may be the problem ??
    both uses Oracle non-XA driver with one phase commit;
    Let me know how to connect to two diff datasources in a single transaction.
    Thanks in Advance.
    Sreehari.

    Do you get like any error for second datasource like jndi lookup failed or exactly what do you see error. If I understand your usecase:
    DataSource_1 -> Uses ConnectionPool_1 -> DB Schema_1
    DataSource_2 -> Uses ConnectionPool_2 -> DB Schema_2.
    So in your java application, I guess you are using JNDI Lookup and pass above Datasources unique JNDI names, and get 2 instances. I mean you have like 2 sets of Jndi lookup code to get 2 connection objects. This looks pretty straight forward. Does not matter what drivers you use.
    Are you reusing any objects in your code, like have a single connection object and then close it and try to recycle it for second something like that...If not, check for any errors in the log files.
    Ravi Jegga

  • Combining Conditions with two DataSources

    Hello All,
    The following Code is to Set two condition to load my data, but my problem is that they are not combining. Is there a way to put two DataSources to a Condition? Or is there a way to Combined them?
    '//Activates Query
    '// getting the data sources from the form
    Set oDBDataSource = Form.DataSources.DBDataSources.Item("RDR1")
    Set oDBDataSource2 = Form.DataSources.DBDataSources.Item("ORDR")
    '// Query the DB Data source
    '// create a new conditions collection
        Set pConds = New Conditions
        Set pConds2 = New Conditions
    '// (CardCode = inputted Cust No) 
        Set pCond2 = pConds2.Add()
        pCond2.BracketOpenNum = 1
        pCond2.Alias = "CardCode" 'FIELD NAME
        pCond2.Operation = co_EQUAL
        pCond2.CondVal = CCode
        pCond2.BracketCloseNum = 1
    '// Execute the query with the conditions collections
        oDBDataSource2.Query (pConds2)
    '// where clause
    '// (LineStatus = 'O')  //O = Open order//
        Set pCond = pConds.Add()
        pCond.BracketOpenNum = 1
        pCond.Alias = "LineStatus" 'FIELD NAME
        pCond.Operation = co_EQUAL
        pCond.CondVal = "O"
        pCond.BracketCloseNum = 1
    '// Execute the query with the conditions collections
        oDBDataSource.Query pConds
    '// set the user data source data
        For i = 0 To oDBDataSource.Size - 1
            oDBDataSource.Offset = i
            oMatrix.AddRow
        Next i

    Hi Laura,
    I think the discussion in this thread will give you the answer:
    JIONs-Query as MatrixDataSourse
    Regards,
    Frank

  • Layer Mask for mixing two faces or images in photoshop cs6 tutorial

    In this tutorial you will learn how to mix two images with the help of Layer Mask in Adobe Photoshop cs 6.
    Created by ME....... for Photoshop Beginners.
    https://www.youtube.com/watch?v=0RfGSMZ3dzM

    Must watch..

  • One infosource two datasources

    Hi Friends,
    I have the following task.
    I have two data sources, one with actual data and one with planning data.
    Now I want to create an infocube with both the actual and the planning data and one or two aditional fields for the difference
    between actual and planning data.
    I have created the data sources, I have created on infocube with all the fileds from the two datasources.
    When I have created two transformation from datasouces to infosource and one from infosource to the infocube.
    But when I want to create the DTP for the infocube, it asks me to choose between the two datasources.
    How can I go on with it.
    Is there a docu how to handle two datasources, one infosource and one infocube or how else can I do it?
    Thanks in advance.
    RG. Jimbob

    Hi Jim,
    If i am getting you correctly , you need to create one cube with Actual key Figure and Planned Key Figure so that you can calculate the variance.
    In this case, i would suggest you to not add value type in the cube. ( Just have it till the info source).Then write a routine for Actua Key Figure and Planned Key Figure.
    i.e IF VTYPE = 10 populate actuals else populate planned key figure.
    As in any situation if u have value type info object in cube, you will always get tw records in the cube based on value type, even if all other characteristics are same.
    In the scenario where 2 records are generated, if u run a report without dragging value type , it will aggregate both the records as you are expecting.
    Hope this solves your problem.
    Thanks,
    Vikram

  • Combining two datasources

    Hi Experts,
    Can anyone tell me how to combine two datasources?
    How many datasources(max) can be combined to an infosource?is there any limit?
    What is the difference between combining two datasources and creating a generic datsources which has all the fields of the combined ones?
    Thanks in advance
    Regards
    Ganesh Kumar

    Hi Ganesh,
    As you have suggested one way of combining datasources,  is through infosource, and as far as the number of datasources that can be combined, there is no limit as such.
    We generally go for generic datasources when couldn't find any application specific datasource suitable to our requirement provided by sap.
    Technically speaking if you have two application specific datasources which you would like to combine, you can do it through the infosource; and if you dont have application specific datasources available and you were to create two generic datasources and combine them, then it would be logical to make one generic datasource with all fields in it.
    Hope it was clear..
    Regards,
    Habeeb.

  • I want to load from two datasources to ODS then ODS to infocube

    Hi Experts,
    I want to load the data from Two datasources to one ODS.
    Once i completed ODS loading i need to load to infocube.
    Please anybody tell me what're the steps to complete this task.
    Regards
    Suresh

    Hi,
    Once you are done creating the ODSs and InfoCube, create an update rule by right clicking the ODS -> create update rule and there you give your InfoSource1 name and create routines if necessary, likewise you would do the same for your InfoSource2 and load the data...
    After successful load from two sources do the samething in Cube, right click on the cube and create update rule but this time you have to mention ODS name instead of InfoSource name. create the routines if necessary then save & activate.
    then come out of the cube then go to ODS generate datasource and once it is done again right click on the ODS -> update ods data into targets -> Full / Initial -> InfoPackage will pop up and you are good to go with your load.
    Hope that helps!!
    ~ Vaishnav

  • Two Datasources pointing to one connection pool...

    Hi All,
    I have heard you should not have two datasources pointing to one connection pool that each datasource should have it's own pool. What type problems would occur if you did that in WLS 8.1? I heard in 9.2 and above you are not allowed to do that and I suspect it is because of some issue doing many (datasources) to one (connection pool).
    Any comments about this?
    Thanks,
    -Tony

    Hi Hector
    Could you refer the SCN & SAP links
    SAP WEB Dispatcher and DMZ
    Access SAP Webgui and Portal Through Internet Using Web dispatcher
    https://help.sap.com/saphelp_nwce10/helpdata/en/48/8fe37933114e6fe10000000a421937/frameset.htm
    SAP Web Dispatcher - SAP Library
    BR
    SS

  • Joining two datasources using an InfoSource

    Hello Experts,
    is it possoble to join two datasources (two database tables sharing an attribute) using an InfoSource as it works with two InfoSources and one ODS?
    Axel

    In your source system, create a view in se38 with your tables. Then, still in your source system, go to t.c. SBIW and create a new DataSource with this view. Then go to your BW, replicate DataSources of your source system and activate.
    I have not explained all the steps but is not a very dificult process, so i think you will not have problems.
    Regards

  • Adobe Photoshop: Layer Mask for mixing two faces or images in photoshop cs6

    In this tutorial you will learn how to mix two images with the help of Layer Mask in Adobe Photoshop cs 6.
    created by me..
    https://www.youtube.com/watch?v=0RfGSMZ3dzM

    ..Thanks..

  • Design Studio connect the filter of two datasources

    Hello,
    I have two datasource DS1 shows the balance sheet and the DS2 shows the chart of balance sheet.
    Now, I want to connect the two Datasources. For Example I click on "Aktiva" I want see the "AKTIVA" Chart,only.
    I tryed with the follow script, but it doesn't work:

    Hello,
    thanks for your response. I have test your code. The crosstab is datasource 1 and the chart is datasource 3.
    Now, I implement the code:
    But it doesn't work.
    Thanks for help...

  • Mixing two joypads together

    I wonder if there's a possibility to "mix" two equal joypads (PS3 controllers) together, and fuction as the same joypad. The /dev/input/mice node is a mix of all /dev/input/mouse* stuff, can it be done with joypads too? The use of this is quite slim, but me and a friend want to play a single player RPG with two controllers. I've tried some mknod, but didn't get far.
    So far I have /dev/input/js0 and /dev/input/js1 showing up, and they both work well individually.
    Last edited by Themaister (2009-02-20 00:43:15)

    Have you click/drag selected any audio, the functions won't be available unless you have audio selected.

Maybe you are looking for

  • Error installation JSE 8.1 vista

    Hi. I'm trying to install JSE 8.1 on Windows Vista, and each time I got this error during installation : com.sun.tools.ide.installer.actions.ConfigureApplicationServer, err, java.lang.OutOfMemoryError: Java heap space STACK_TRACE: 21 java.lang.OutOfM

  • Is it possible to detect change of date and/or resume from standby?

    Hallo you all, in our current project we have a java remote application and a server application connected via GPRS. Both client and server must have a system time sinchronized with a tolerance of maximum 15 minutes. The problem has been solved simpl

  • Early Watch Report for TREX

    Hi All, Can we generate Early Watch Report for TREX. How do we add TREX system through SMSY in Solution Manager? Thanks

  • Error while clearing

    Dear All, when i select debit and credits in my vendor account i am not able to clear even when my credits and debits are equal. Exchange rate difference account is triggered which does not have any value (0) but is displayed as line item when cleari

  • ArcPStudioSN.reg - what's this file ?

    My PB started eating up available space till got a warning too little disk space left - had only ca 50 MB. This happened after I had taken iPod into use and installed a double system of iPhoto (5+6) - many of us know why. I investigated discussions a