Receiving RTP data

I want to receive RTP data and access it directly. Is there a way to somehow store the incoming data stream into a byte array or something like that?
I have been looking at the AVReceive3.java code, and it automatically sends the datasource to the player. I need to read the data in and pass it to another program. Thanks for any help!

I don't know if your diagnosis is correct, for shure I have a lot of jitter between two PC using the same java app and playing a RTP broadcast audio.
But I could not relate it with the speed of the computer, sometimes A plays before B, sometimes after. Problably it is the time to create objects that varies.
Still looking for a solution....

Similar Messages

  • How to receive RTP data by JMF

    Hello!!
    I have a ipaq3870 installed Jeode.
    I can run JMStudio to play media on PDA and receive RTP data from PC's JMStudio.
    But I can't receive RTP data by AVReceive2.
    I compressed AVreceive2 into custom.jar.
    Can anyone teach me how to do?
    Did my steps correct?
    Thank you!!
    Shih-Wei Chen

    Hi,
    hope we could talk a little more about this because I am also trying to do some applications with the JMF and Personal Java / Jeode.
    So far I haven�t worked with the JMstudio but with the AVReceive and the AVTransmit classes. My Transmit-PC is a Desktop PC running Windows XP and my Receive Handheld is Sharp Zaurus with - as I said - Personal Java / Jeode running.
    Both classes run but the Transmitter only says "Transmitting ..." and the Receiver says "Waiting for data to arrive" and nothing happens.
    Perhaps you know what I am doing wrong ? Can it be the Windows XP - Linux ? But the JMF ist platform independent, isn�t it ?
    Do you think the JMStudio is better than the AVReceive ?
    How did you manage to run jmstudio under Jeode ?
    Of course he didn�t find the "java" exec because it is called evm but how can I change this ?
    Thanks for your help
    Poldi

  • Problem transmitting RTP data

    Hi all, I have made a little headway with the JMF thing on the front of streaming audio data, but am currently encountering a tough problem. So I got this little application that supposedly allows two parties to converse between two RTP streaming devices (PC's and otherwise). Basically the JMF enabled app takes care of voice processing and streaming, while call control (for locating peers) is handled by a third party. I got the application to the point where the app can receive RTP voice data and render it on my speaker but I just can't seem to make any progress on the transmitting part. Below is some of the details.
    - Data transmission (both send and receive) to be handled by the same RTP session (RTPManager), i.e. using the same UDP port.
    - Voice capture via microphone, into Processor.
    - DataSource from Processor hooked up to SendStream created by RTPManager.
    Pretty straight forward? The logic and problem are described below:
    - Created Processor from MediaLocator acquired from CaptureDeviceInfo
    - Configure Processor
    - Set up the data format of the tracks
    - Realize the Processor
    - Start the Processor
    - Using the same RTPManager, as the receive side, add the target
    - Using the RTPManager, create a new SendStream using the DataSource from the Processor
    - Start the send stream
    - Using a packet sniffer to see if there are UDP RTP packets being sent but see nothing, I can see incoming RTP packets from the far end (which is a different application all together), but nothing streaming out from my end.
    - When inquiring the getSourceTransmissionStats JMF reported thousands of packets sent!
    So the Send Stream seemed to think it sent out lots of RTP data, but the sniffer (and the far end speaker) said otherwise. No error or exception were reported.
    Any suggestion? I'd give anything to get access to some diagnostic facility inside the streaming logic to see where the problem could lie.

    I've faced a similar problem, what I did was to use TWO session managers, one for transmitter and the other for receiver. I then used this objects in a container.
    Both peer use the same port, and know each other's address.
    For receiving data from the peer I do:
    RTPManager mymgr = RTPManager.newInstance();
    // add as listener to create players for each incoming stream
    mymgr.addReceiveStreamListener(this);
    SessionAddress localaddr =new SessionAddress( InetAddress.getLocalHost(), port);
    SessionAddress sessaddr = new SessionAddress( peerAddress, port);
    mymgr.initialize(localaddr);
    mymgr.addTarget( sessaddr);For transmitting data to the peer I do:
    RTPManager mymgr = RTPManager.newInstance();
    // add as listener to create players for each incoming stream
    mymgr.addReceiveStreamListener(this);
    SessionAddress localaddr =new SessionAddress( InetAddress.getLocalHost(), SessionAddress.ANY_PORT);
    SessionAddress sessaddr = new SessionAddress( peerAddress, port);
    mymgr.initialize(localaddr);
    mymgr.addTarget( sessaddr);
    // the processor is capturing audio from the mic
    processor.start();
    SendStream sendStream = mymgr.createSendStream(processor.getDataOutput(), i);
    sendStream.start();I probably forgot something when doing copy paste from my code... but I think this might help you
    Good luck
    Marco

  • Why 127.0.0.1 can not receive any data,but MulticastAddress can?

    Why 127.0.0.1 can not receive any data,but MulticastAddress(224.123.111.101) can? I use jmfstudio to tansport media and set the dest address to 127.0.0.1.I use anther jmfstudio,and fail to receive it.(ps:wo jmfstudio runs in the same machine at the same time).But after I change the dest addrest to 224.123.111.101,it receive data.Can any one tell me why?

    The origin code is to transmit stream is(ip 127.0.0.1 ,port 22222)
    localAddr = new SessionAddress(InetAddress.getLocalHost(), port);
    destAddr = new SessionAddress(ipAddr, port);
    As you said,the receiver reports 22222 is used.
    But After I change it to
    localAddr = new SessionAddress(InetAddress.getLocalHost(), port+10);
    destAddr = new SessionAddress(ipAddr, port);
    It says waiting for "Waiting for RTP data to arrive..."

  • I am receiving the data through the rs232 in labview and i have to store the data in to the word file only if there is a change in the data and we have to scan the data continuasly how can i do that.

    i am receiving the data through the rs232 in labview and i have to store the data in to the word or text file only if there is a change in the data. I have to scan the data continuasly. how can i do that. I was able to store the data into the text or word file but could not be able to do it.  I am gettting the data from rs232 interms of 0 or 1.  and i have to print it only if thereis a change in data from 0 to 1. if i use if-loop , each as much time there is 0 or 1 is there that much time the data gets printed. i dont know how to do this program please help me if anybody knows the answer

    I have attatched the vi.  Here in this it receives the data from rs232 as string and converted into binery. and indicated in led also normally if the data 1 comes then the led's will be off.  suppose if 0 comes the corresponding data status is wrtten into the text file.  But here the problem is the same data will be printed many number of times.  so i have to make it like if there is a transition from 1 to o then only print it once.  how to do it.  I am doing this from few weeks please reply if you know the answer immediatly
    thanking you 
    Attachments:
    MOTORTESTJIG.vi ‏729 KB

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • E-mail are received as DAT file instad of PDF

    Hi All,
    Please try to assist in this strange topic:
    When I try to send an e-mail via the SBO (press on the envelope button and choose u2018yesu2019 when
    the option u2018Would you like to attach an edited report to the e-mail?u2019 is display), the receiver is received a file with u2018DATu2019 extension and not with PDF extension and the receiver canu2019t open the file.
    I have tried to uninstall the acrobat reader 9 and install instead Foxit 3.1, but the problem still
    persists.
    In addition, I have found the this issue is reproduced only when the customer is using the Hebrew interface of SBO and the PDF file name is in Hebrew.
    When I switched to English interface of SBO, then the PDF file name is in English and the file is received correct (As PDF file).
    Another thing is that when you send the e-mail via the SBO (with the attached PDF) and open it
    on outlook (e.g. 2007), the file is received as DAT file,
    However If you open the e-mail on web mail (e.g. GMAIL), the file is received as correct PDF file, But when you send a regular e-mail (not via the SBO) with the attached PDF file and open it on outlook, the file is received As PDF file.
    Thanks,
    Erez

    I am afraid that there is a syntax or some codes in the interface that make the pdf converted into DAT file. You should ask the technical consultant or someone that developed the interface to make sure about it.
    If not, probably,  there is a problem with your current SAP B1 version. You could try to upgrade to the latest PL version of your current B1 application and then try again this case. if this is happened in the latest version, log a message to SAP Support.
    JimM

  • I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.

    I am having problems interacting with Microsoft Office programs since the last update:cannot create a pdf through the 'print' menu in exel and both Word and Exel docs sent in Mac Mail end up being received as .dat files.
    Both these situations have cropped up on my MacBook Pro since the last update.
    Thanks for your help.
    Cheers
    Bob

    The 'Winmail.dat' problem has been extensively covered in these forums, I would search for that (a Google search works well) and unfortunately I have not seen the pdf print problem before, but assuming the software is current and functions normally (other than the pdf print problem) I have no suggestion other than the obvious (but time consuming) re-installation of Office.
    I wish I had more

  • Receiver based date transformation

    Hi,
    We have a scenario where we need to map the date to the  receiving databases. We have the same map going to oracle receiver and a mySQL receiver. The date formats of both the databases are different. How can this be handled within the same map ( like receiver based date transformation) or does it need to go throught the traditional route of different maps for different JDBC receivers? Any help is appreciated..
    Teresa

    Teresa,
    Yes, I have the same payload going across to both DB at the same time. THe payload to mySQL is failing because the date format is in oracle transformation. I was wondering whether this could be done without doing 2 different maps.
    Yes, you can do it in the same mapping.
    For two different receivers, you must be having two different Business Services? If yes, then get the values of receiver BS in your mapping and do a simple condition test. Apply the date transformation logic accordingly.
    For getting the Receiver Service name, you can either use the "Receiver" under "Constant" standard function or use the following UDF -
    String RcvService;
    java.util.Map map;
    map = container.getTransformationParameters();
    RcvService = (String) map.get(StreamTransformationConstants.RECEIVER_SERVICE);
    return RcvService;
    You can change the above code as per your requirement.
    Hope this helps.
    Regards,
    Neetesh

  • Why I receive Winmail.Dat instead of list of attachments with Email?

    I am receiving Winmail.DAT file as an attachment with email that contain large attachments. I can not view the Attachments, nor can I reterive this .dat file. How can I change the settings in MAIL. Any body can guide plz.?

    Mac OS X Mail: What is a winmail.dat attachment? : Apple ...
    Download TNEFs Enough for Mac - Extract winmail.dat ...
    Winmail.dat | OfficeforMacHelp.com
    How to Open Winmail.dat Files | Mac|Life

  • How i can receive & send data through port? urgent

    port=9999
    data receive in 4 column
    name, price, high, low
    i want to receive this data & display this data in from & automatic refresh
    do u have any idea ?
    plz urgent reply

    IDS (Internet Developer Suite) is a RAD tool to create database application however that totally depend upon your requirement but if u feels limitation while working on Form IDS , u can switch to Jdeveloper an open source environment but still u have option create bean in Jdeveloper as per your need and bundled it with your Forms.
    I still suggest to discuss the problems which you are facing while invoking the bean in your form so that we can guide u better.
    Finally, neither move to latest version or change your development platform just for seek of fashion
    Hope it clears now!

  • Sending & Receiving compressed Data

    Hi, How can i send & receive compressed data over a network using DeflaterInputStream and InflaterOutputStream, thanks.

    You probably would not use those classes directly, but GZIPInput and GZIPOutput stream instead. you would wrap those streams around the socket Input and Output streams at either end of a socket connection.

  • How to receive the datas?

    Look:
    the first I create socket sk:
    sk=socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
    and I fill data into Ip Head and Icmp Head,
    then I sendto the packet,but I don't receive
    any datas:
    lenrecv=recvfrom(sk,buf,100,0,(struct sockaddr*)&addr,&rlen);
    my codes run at the function recvfrom,but it
    couldn't return variable lenrecv,and it look like down,
    I want to know why?how to receive the data?
    (I couldn't creat socket like this:
    sk=socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
    I want to know when I creat socket like this
    sk=socket(AF_INET, SOCK_RAW, IPPROTO_RAW);
    How to receive datas?)

    Last edited by joseperezc (2012-08-14 18:58:22)

  • I2C with ARM embedded receiving incorrect data

    Hi together
    For a schools project, which I must finish until next week, I need to read out a DS1307 RealTimeClock via I2C.
    I am using a LM3S8962.
    I have tried to communicate via the NI USB-8451 module, which worked just fine.
    Now I only need to read out the Data from the DS1307 and I used the ARM embedded I2C VIs. I receive some data, but the Data is not correct (for example it shows a value of 70 in the seconds-register which is not possible).
    I've tried a lot of things but I couldn't get it to work properly.
    Attached a screenshot of how I implemented the reading of I2C. What am I doing wrong? I have really to get this working otherwise I can't finish my project and this would unfortunately result in a bad mark I hope someone can help me.
    Regards from Switzerland
    Dominic
    Solved!
    Go to Solution.
    Attachments:
    i2c_problem.JPG ‏46 KB

    Hi doh,
    are you sure you are reading from the right register? 
    According to this datasheet: DS1307.pdf , 
    if you want to access the seconds register it would be Adress 0 (Hex-Value-0), in your screenshot its 68 decimal. You can change the representation of your constant which is connected to the Adress terminal of your Create Configuration Reference VI. Just right click your constant -> visible object -> Radix. After that you can change the representation to x (HEX).
    Additionally when you read the 7 bits which are casted to 8 bit unsigned you have to notice that the 7 bits are encoded as BCD code.
    So consider your example reading the value 70: 70 in binary means: 100110 with the most significant bit on the left side and the least significant bit on the right side. Now when you split the values according to the seconds in the datasheets table:
    | 0 | 1 0 0 | 0 1 1 0  
    Then you will see, that 70 as U8 value has : 0110 = 6 (last 4 bits) and 100 (middle 3 bits) = 4, which means, that your actual value is not 70, but 46.
    So I would guess, you have to convert the U8 value to an Boolean array, split the bits according to the Table mentioned in the manual and then convert them to the proper time.
    Hope this helps, if you have further questions just post.
    With best Regards,
    Lam

  • Changing outlook 2013 contact so they will not receive winmail.dat files - missing settings

    trying to change email properties of a contact in outlook 2013 who keeps receiving winmail.dat from one of our guys , trying to get to internet format to change that setting.
    I have made the registry change suggested here http://www.slipstick.com/outlook/use-outlooks-contacts-contact-cards/
    but though I can get to properties now, I still do not see Internet Format.
    I do not even see it when I create a new contact.
    what am I missing?

    Hi,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

Maybe you are looking for

  • ICal doesn't show my calendars, although data clearly sits on my computer

    After a system crash, iCal doesn't show my calendars any more. It appears in the same state as when I opened it the very first time, i.e. contains empy "Work" and "Home" calendars. Yet, ~/Library/Application Support/iCal contains plenty of data that

  • Display Variance line items for Orders

    Hello Sapients, I am trying to execute Transaction code KOB3 (Display Variance line items for Orders) ( /n > Accounting> Controlling > Product Cost Controlling > Cost Object Controlling > Product Cost by Order > Information System > Reports for Produ

  • Active sync sendMail command throws 103 status code

    Here is my post request data : <?xml version=\"1.0\" encoding=\"utf-8\"?>     <SendMail xmlns=\"ComposeMail\">         <ClientId>%d</ClientId>         <SaveInSentItems/>         <Mime>From: [email protected] To: [email protected] Subject: hello MIME-

  • Flash Forms - Binding

    I am using flash forms, and trying to Bind data from one page to the next. I have been able to get the binding to work for a text field, but am not able to get it to work for a datefield. (I havent even tried a radio input yet) Any one have link to t

  • XI Repository Export CMS Read timed out error

    when iam exporting the objects the export fails with the message..Sent on 12/14/07 at 9:04 PM: Unable to establish connection to CMS server http://servername:51000. Unable to transfer the following transport lists:  Export list for SWCV (send time =