Audio not being sent in RTP

Hi,
I'm developing a simple RTP application for capturing and Transmitting live audio. I have used [AVTransmit2|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVTransmit2.java] at the sender side and [AVReceive2|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive2.java] at the receiver side. Everything is working fine when I try to transmit a wav file. But, when I try to capture live audio from the Mic and try to transmit, there is no audio at the receiver side.
I have used the following code to create a MediaLocator for the microphone.
     public static MediaLocator createLocator(){
          CaptureDeviceInfo captureDeviceInfo = null;
          Vector captureDevices=null;
          captureDevices = CaptureDeviceManager.getDeviceList(null);
          System.out.println(
                    "- number of capture devices: " + captureDevices.size());
          for (int i = 0; i < captureDevices.size(); i++) {
               captureDeviceInfo = (CaptureDeviceInfo) captureDevices.elementAt(i);
               System.out.println(
                         "    - name of the capture device: " + captureDeviceInfo.getName());
               Format[] formatArray = captureDeviceInfo.getFormats();
               for (int j = 0; j < formatArray.length; j++) {
                    Format format = formatArray[j];
                    if (format instanceof AudioFormat) {
                         System.out.println(
                                   "         - format accepted by this AUDIO device: "
                                   + format.toString().trim());
                    } else
                         System.out.println("         - format of type UNKNOWN");
          if (captureDeviceInfo!=null){
               MediaLocator audioLocator = captureDeviceInfo.getLocator();
               return audioLocator;
          return null;
     }I've used this to initialize and start the transmitter:
MediaLocator locator = createLocator();
AVTransmit2 at = new AVTransmit2(locator, "10.0.0.226", "42050");
String result = at.start();Is this the correct way to capture live audio? Please advise me if my approach is wrong.
At the receiver side, I get the notification that a new participant has joined. Then it keeps on waiting for the RTP packets to arrive and finally gets timed out.
- Waiting for RTP data to arrive...
- Waiting for RTP data to arrive...I have not made any changes to AVTransmit2 or AVReceive2. Both systems are intel Macs running Snow Leopard. I tried to use other java application to capture live audio and its working fine. I don't know how to create a datasource or Medialocator out of it. :(

Thanx for replying, captfoss. :)
Actually, in the code for getting the media locator I had put in some extra redundant lines just to print out the list of formats supported by the devices. Other than that they don't do anything useful. In this mac, javasound://44100 is the only device detected. So, I use it directly(the first device).
I have tried with javasound://0 , but still no luck. Any wav file is transmitted and received successfully. Is it anything related to this OS? I searched here and read that there might be issues in mac jvm not working as expected with capture devices. I don't have any idea on how to proceed. Are there any workarounds? I mean, I had used another code from an open-source java project for rtp transmission. They were using TargetDataLine and PipedOutputStream class for capturing audio and doing custom encoding in to ULAW and sending it. Its working fine with AVReceive2. Its not able to identify the stream owner, but still there is a voice path. Can I create a custom datasource from it?
Sorry, for asking too many questions, but I'm a little bit excited as well as disappointed...

Similar Messages

  • AC 5.3  Critical Action Alert Emails not being sent

    HI:
    We have set up Critical Action alerts for a couple of transactions and while the on-line alert logs are being generated correctly, the alert email is not being sent to the Risk Owner.
    Does anyone know where I can trouble shoot this issue?
    Thanks,
    Margaret

    >
    Alpesh Parmar wrote:
    > Margaret,
    >
    >     Have you set up the SMTP server in visual admin? RAR needs to use this server details to send out an email.
    >
    > Alpesh
    Hi AlpeshMargaret,
    Where are the instructions for setting up the SMTP server in visual admin for the purpose of Alert Generation? I am not seeing this in the Configuration Guide. Could you point me to the correct documentation?
    Thanks!
    Jes

  • Rebate Agreement Statement not being sent automatically

    Hi SAP experts,
    I am currently investigating why 3rd Party Commission Agents are not receiving Settlement Statement Details automatically.
    Can anybody help on where the setting can be incorrect or why the communication are not being sent.
    In FI transaction FBL5N everything looks correct.
    Any help is welcome
    Regards
    Roger

    Hi Roger,
    I have a doubt? Who must receipt the e-mail? the customer or the sales agent?
    If the agent must receipt the e-mail perhaps you can create a Z-FIELD for the email of the agent (with the BADI 'CUSTOMER_ADD_DATA' and 'CUSTOMER_ADD_DATA_CS' (in table KNB1 eg) and in the enhancement populate the field FINAA-INTAD with the email of the agent if BKORM-EVENT is the right correspondence (it works as a filter).
    I hope this helps you
    Regards,
    Eduardo

  • Alerts not being sent

    Alerts are currently only being sent if the person who created the alert is a recipient. This is a huge problem. Alerts are a big selling feature of Business One, however we just learned that alerts are not being sent unless the person that created the alert is also a recipient. We have clients who might send 75 - 100 alerts per day. Especially useful for sending email alerts to sales personnel or technicians in the field who do not have access to SAP Business One. To say that the person who created the alerts (normally manager) must be a recipient is not practical. Most clients have a user who must use the manager login so they get the alerts.
    If this is the only solution, SAP should provide a free user that can only create and setup alerts thus would no longer be a problem

    Yes I am sure and the following is the information received from SAP escalation pasted into this post
    Case 1
    Manager is logged in ONLY
    Manager configures an alert and Sends the alert to Sophie( tick Email box )
    Results => alert will not be received via email
    Case 2
    Manager is logged in ONLY
    Manager configures an alert and Sends the alert to Sophie and Manager
    Results => alert will be received via email  by Sophie and manager as manager is one of the recipients.
    Case 3
    Manager is logged in ONLY
    Sophie Logs in
    Results => alert from Case 1+ 2 are received via email, as Sophie is a recipient
    => It seems that one of the recipients needs to be logged to B1 in order to trigger the email sending process.

  • All of a sudden my IMessages only from my boyfriends IPod to my IPod touch five are being received in my email and not being sent to my IMessages what do I do to fix it and be back to reviving them in my IMessage

    All of a sudden my IMessages only from my boyfriends iPhone4 to my IPod touch five are being received in my email and not being sent to my IMessages what do I do to fix it and be back to reviving them in my IMessage's we both updated our divises to the iOS 7 and mine to the ios7.0.2 his at first just stopped sending to me period but then I turned of IM then reset networking settings then turned back on my IM and also turned my device off and back on now reviving them in my email

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • HT4623 My messages are not being sent. Can someone help?

    My messages are not being sent. Can someone help?

    Alan, how you're doing?
    You already know issue is not with the email account, since it's working on another devices.
    Now you have to define whether it is a user specific or system wide issue.
    Create another user account through system prefereces > users and groups. Try to set up account on the new test user.
    If it works, get back to your main account, open mail application, go to menu > Window > open activity and connection doctor (Make sure you organize these tools in a way that allows you to see both mail windows and activity/ connection doctor... Now, try to send a test email and you will see where the issue is.
    Then...
    Go to mail preferences > select your email account > click the - button to remove it and + to readd account.
    Fill your full name, email address and password. Now, hold down option key and press continue... Insert incoming and outgoing information.
    Any doubts, feel free to ask.

  • Since upgrading to iOS7 some text messages are not being sent, iMessage on my Ipad and MacBook doesn't have my phone number registered and my reminder colour on my Iphone keeps changing ... among other things

    Since upgrading to iOS7 some text messages are not being sent on my iPhone 5, iMessage on my Ipads and MacBook doesn't have my phone number registered and my reminder colour on my Iphone keeps changing ... among other things. Any suggestions to fix these faults?

    Make sure People Sending you via iMessage are sending their messages on your PHONE number not on your EMAIL addresses . My sister had the same problem, thats how i managed to solve it!

  • Workflow Notification Mails Are Not Being Sent

    Hi
    we are running 11.5.10.2 version , some times Workflow Notification Mails Are Not Being Sent , so how should i start diagnose this issue.
    Regards

    Dear Hussein
    thanks for your reply, below are the log messages from the todays file FNDCPGSC6854.txt
    [May 12, 2009 1:21:12 PM AST]:1242123672450:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProces
    sor.send(Message)]:Problem encountered when sending to {[[=?UTF-8?B?2LXZhNin2K0g2LXYp9mE2K0g2LnYrNmE2Kf
    Zhg==?= <[email protected]>]]} -> javax.mail.MessagingException: 451 Timeout waiting for client input
    [May 12, 2009 1:21:12 PM AST]:1242123672451:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.SMTPMessageHandler
    .sendMessages(String)]:MessagingException -> javax.mail.MessagingException: 451 Timeout waiting for cli
    ent input
    [May 12, 2009 2:03:48 PM AST]:1242126228129:Thread[inboundThreadGroup1,5,inboundThreadGroup]:0:-1:DAREB
    S:172.30.2.45:-1:-1:UNEXPECTED:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.IMAPInboundProc
    essor.moveMessage(Message, String)]:Unable to move message {null} -> javax.mail.StoreClosedException: *
    BYE Microsoft Exchange Server 2003 IMAP4rev1 server version 6.5.7638.1 closing connection due to timeo
    ut.
    [May 12, 2009 2:17:01 PM AST]:1242127021657:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProces
    sor.send(Message)]:Problem encountered when sending to {[[=?UTF-8?B?2YXYp9ix2KrZhiDZgdmG2YrYsg==?= <mvi
    [email protected]>]]} -> javax.mail.MessagingException: 451 Timeout waiting for client input
    [May 12, 2009 2:17:01 PM AST]:1242127021658:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.SMTPMessageHandler
    .sendMessages(String)]:MessagingException -> javax.mail.MessagingException: 451 Timeout waiting for cli
    ent input
    [May 12, 2009 3:49:02 PM AST]:1242132542705:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.SMTPOutboundProces
    sor.send(Message)]:Problem encountered when sending to {[[=?UTF-8?B?2KfYtNix2YEg2KfZhNiz2YrYryDYp9it2YX
    YryDYtNio2YQ=?= <[email protected]>]]} -> javax.mail.MessagingException: 451 Timeout waiting for clie
    nt input
    [May 12, 2009 3:49:02 PM AST]:1242132542705:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:ERROR:[SVC-GSM-WFMLRSVC-6854-10006 : oracle.apps.fnd.wf.mailer.SMTPMessageHandler
    .sendMessages(String)]:MessagingException -> javax.mail.MessagingException: 451 Timeout waiting for cli
    ent input
    [May 12, 2009 4:03:08 PM AST]:1242133388437:Thread[outboundThreadGroup1,5,outboundThreadGroup]:0:-1:DAR
    EBS:172.30.2.45:-1:-1:UNEXPECTED:[fnd.wf.mailer.URLMIMETagListener]:oracle.apps.fnd.wf.mailer.URLMIMETa
    gListener.editStyleRef(HTMLTagEvent, String) Making a connection to {http://oracle.kannon.com:8000/OA_
    HTML/cabo/images/cache/cmbts.gif)} returned {404 - Not Found}. Leaving as a reference

  • Emails are not being sent on Document sharing

    Hi everyone,
    I have a created a documnt library and made it available for users. The issue is that emails are not being sent when a user creates/Uploads a document and share it with other users. Please refer below screenshot.
    Further, emails from approval workflows are being sent properly.
    Do i have to look into exchange server or sharepoint needs to be configured?
    Please suggest a workaround.
    Thanks
    -Ahmed Khan

    Hi ,
    Based on your description, my understanding is that emails are not being sent when a user share a document with other users.
    I have done a test on my SharePoint 2013, I can’t reproduce the issue.
    Did all users not receive the emails? You should check outgoing email for a SharePoint 2013 farm.
    Here is a link about how to Configure outgoing email for a SharePoint 2010 farm, you can take a look at:
    http://sharepointgeorge.com/2010/configuring-outgoing-email-sharepoint-2010/
    Best Regards, 
    Lisa Chen

  • EWA Report not being sent for two systems

    Hi Experts,
    We are having one issue in EWA Report in solution manager. Searched hard but could not find solution.
    Our solution manager is configured to provide EWA for 4 systems- ECC, BW, PI and Solution manager itself.
    The configurations are in place to the extend that we are able to view the weekly reports in Solution manager.
    Issue is -
    1. We are able to recieve mail notification for Solution Manager and ECC but not able to get for BW and PI.
    2. The ECC report is coming ok, but Solution manager report is blank.
    The places I checked the configuration -
    1. SDCCN for all systems.
    2. SOLMAN_EWA_ADMIN - all systems active and chcked for EWA
    3. Background Jobs for all systems -Maintenance Package, Refresh Session, Earlywatch Alert for Solution Manager
    4. Background Jobs related to the task including SM:EXEC SERVICES
    Later on I deleted and rescheduled the job SM:EXEC SERVICES to make sure it covers all systems.
    Data is visible in Solution Manager but report is not being sent over mail for two systems- BW and PI.
    Solution manager report is being sent but empty.
    Please suggest.
    Regards,
    Sabita

    Hi,
    what is your ST verison? check this note applicable or not
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1496931|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1496931]
    and chek the version of your service updated ST_SER too, patch this also solve the issue
    refer this [Note 1482818 - Service updates ST-SER 701_2010_1|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0001482818&nlang=E]
    Jansi

  • Batch Process mail notifications not being sent

    Racking my brain on this. On our prod 9.3.1 server, we reconfigured the mail server/database. I logged in as the application owner to establish the mail in application settings. Under workspace/administer/notifications I am able to successfully send a test email.
    The emails are not being sent for any of our workspace reporting batch processes. What log would be associated with this for further review?
    JTS

    FR_GLOBAL_PROPERTIES didn't have the smtp server populated..once populated and then the scheduler service restarted the emails are working..
    JTS

  • Hotmail emails not being sent

    I went through my junk email folder (msn.com) last week and mistakenly clicked on a link which looked like it was sent from best buy.  I noticed after it was too late that it was not from best buy.  This scared me so I cleaned out some of my contacts- now I am noticing that emails I am sending out are not being sent. 
    My questions: 
    1) can someone hack into my msn email account even though I use an ipad/safari?
    2) when I cleaned out my contacts, did this prevent my emails from being sent?
    3) is it possible for a hacker to divert my sent emails?
    Thank you!

    SOZY Q wrote:
    I can't understand why emails sent by recipients with Yahoo, Gmail, or Hotmail (etc) accounts are not being received by my iPhone. Everything else comes seems to come through... Just to confirm, these are not accounts that I've created but rather email servers for family, friends, and clients that need to copy to my iPhone.
    Any suggestions where I can adjust settings to allow these emails to come through? Muchly appreciated.
    Who is your email provider? Is it one of the free services or a work account?
    Do the emails show up in your inbox when you check from a computer?
    Do you have any filtering rules set up on your email account that would automatically direct the emails to a folder other than your inbox?

  • Images not being sent with forwarded emails

    Hi,
    When I forward an email sent to me that has attached images, those images are not being sent when I forward the email.
    Yes, I am being asked to "Include" the attachments, and I click the Include button.
    I see the images in my message to be forwarded just before I send it, but the recipient does not get the images.
    Any assistance would be appreciated.
    Thanks

    Posts: 26
    From: New England
    Registered: Oct 15, 2005
    Forwarding Mail fails to include pictures
    Posted: Nov 26, 2009 7:54 PM
    Reply Email
    Recently I've had a problem with my iPhone 3Gs when I forward an email that contains graphics. The graphic is fine on my iPhone but when it arrives the picture is missing. I am selecting 'include graphics'.
    I've re-booted - no change.
    I've restored from a backup - no change.
    I've restored without using the backup - no change (other than I lost a couple email accounts etc.)
    Anybody got any other suggestions?
    TIA
    Tim
    Intel iMac / MacBook Pro Mac OS X (10.6.2) 80 gig Classic iPod, 32 iPhone 3Gs
    wmdilson
    Posts: 3
    Registered: Oct 9, 2009
    Re: Forwarding Mail fails to include pictures
    Posted: Feb 14, 2010 9:31 AM in response to: Timothy Adams
    Reply Email
    I have been having the same issue since late September and been in touch with Apple support since. First they said they had no other reports on it so it was my phone. I started checking and found many other with the same issue. I called back and finally in November I was told they were aware of the issue and was working on it. The first week of January I called again and was told the update first week of February was going to correct this. I did the new software update and guest what....IT STILL DOESN'T WORK!!! It is now February 14th and I am on the phone once again for the same issue that was known back in October 2009. I am paying $30 for data plan that I can not utilize 100%. My question after being patient for 5 months is who is going to refund me a portion of my data plan? Apple or AT&T?? This is a software problem that really needs addressed. Apple just releases an iPAD and can't correct this email issue??
    iPHONE 3gs iPhone OS 3.1.3
    ernie goldstein
    Posts: 177
    Registered: Feb 1, 2005
    Re: Forwarding Mail fails to include pictures
    Posted: Feb 22, 2010 5:33 AM in response to: wmdilson
    Reply Email
    foward email
    Posted: Jan 29, 2010 10:14 PM
    Reply Email
    i have the 32 g 3gs iphone. i have no problem when i send pictures from iphone from my photo album. the problem i have is when i receive a email on my phone that has pictures not from someones photo album and i foward the email the people get the email but not the picture. all they get is ca blank square where the picture should be. i even fowarded to myself and the samething happens on my mac . I have called teck support & was told they are working on it. this is unacceptable. it should not take this long to fix this.
    imac Mac OS X (10.6.1)

  • Picture Messages not being sent with Moto X

    My picture messages are not being sent and I receive an error message saying it's an invalid address or couldn't send message.

    Having the same exact problem on my moto X.
    Any updates since you posted?

  • TS3276 my emails are not being sent from my desktop, but are capable of being sent by my apple phone.  as well, I cannnot pull up any emails that I sent.  They just disappear.

    my emails are not being sent from my desktop, but they are capable of being sent from my iphone 5.  Whatever I have sent just disappears from my desktop.

    R1: Seems you didn't configure you email account in your Outlook client properly. please refer to the following KB article and try to create a new mail profile to configure your email account again:
    http://support.microsoft.com/kb/2758902
    R2: Do you want create subfolders under Inbox to category your emails? If so, we can just right click on Inbox > select New Folder... After that, we need to create rules to move or copy your emails to each subfoler. See:
    http://office.microsoft.com/en-us/outlook-help/manage-email-messages-by-using-rules-HA010355682.aspx
    Besides, in order to avoid confusion and keep track of troubleshooting steps, we usually troubleshoot one issue per thread in order to find a resolution efficiently. Concerning your other question, I suggest we create new posts for your other questions via:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=outlook
    Thanks for the understanding.
    Steve Fan
    TechNet Community Support

Maybe you are looking for

  • Macbook Air wont open my USB (Lok it)

    My Lok it (USB) doesnt show in my MAC.  Dont know what to do next..

  • Hyper-V Testbed

    I am in the process of learning Microsoft's server technologies and want to create a testbed using Hyper-V to get some hands-on experience.  I would like to create virtual servers of Server 2008, Server 2008 R2, Server 2012, along with virtual client

  • How to strip a file name and add it to array

    Hello I am new to labview, and I need to know how to strip a file name and add it to an array. For example, filename joe.csv, then take "joe" and add it to an array with other inputs. A visual depiction will be very helpful Attachments: channel read

  • HP Pavillion dv-7-6b55dx sound problems

    I just got my new laptop and Ive noticed that everytime I go on youtube, or i play music loud the sound cracks and it stops working good.. but there is no problem with it if its on very low volume, everytime I put the volume higher thats when it star

  • ABAP Development in portal

    When implementing employee self service and manager self service what are the best practices when creating ids. Are there any SAP programs that will automatically create IDs based on the HR master data table?  This would identify them as either emplo