RTPManager and DatagramSocket will only bind to local ipv6 udp sockets

Setup: Java 1.6.0, JMF 2.1.1e linux pack.
I'm writing a simple utility to receive and playback audio from an RTP stream directed at a specific local udp port. I need the RTPManager to bind to all local addresses on that port. To acheive this I'm using RTPManager and passing in a session address created as so -
local = new SessionAddress();
local.setDataPort(9000);
local.setControlPort(9001);
try {
   manager.initialize(local);
} catch ...netstat -ulpn reveals that the application has only bound to the udp6 "wildcard" addresses and not bound to any local ipv4 address -
udp6 0 0 ::ffff:127.0.1.1:9000 :::* 20679/java
udp6 0 0 ::ffff:127.0.1.1:9001 :::* 20679/java
I've tried a few different ways of creating the SessionAddress to try and get it to bind correctly with no luck.
Also, the same issue appears to confront me when using DatagramSockets directly -
s = new DatagramSocket(9000);netstat again says -
udp6 0 0 :::9000 :::* 22061/java
If it helps, I'm happily talking over ipv4 StreamSockets on the same system.
Can anyone tell me what I'm doing wrong ?
Dan

I've made a bit of progress on this since my original post. I've removed all ipv6 addresses from any interface on my machine can now get a DatagramSocket to bind as expected -
udp 0 0 0.0.0.0:9000 0.0.0.0:* 26527/java
RTPManager seems to bind to whatever address your system hostname is associated with in /etc/hosts, in my case (ubuntu system) it was 127.0.1.1. removing this entry (as I may have expected) causes an UnknownHostException.
I can change the entry in /etc/hosts to read -
0.0.0.0 dan-laptop
and netstat output looks right, although I'm not sure of the validity of doing things this way -
udp 0 0 0.0.0.0:9000 0.0.0.0:* 27410/java
udp 0 0 0.0.0.0:9001 0.0.0.0:* 27410/java
Any comments on how to do this the right way ?

Similar Messages

  • HT4528 While I was trying out the voice over option on my phone I somehow put it in a mode to where the screen stays black and it will only talk to me.  How do I get it back to normal?

    While I was trying out the voice over option on my phone I somehow put it in a mode to where the screen stays black and it will only talk to me.  How do I get it back to normal?

    "If VoiceOver is on and the screen is black, but you can still use the device by pressing volume up and volume down, you may have screen curtain on. Try triple-tapping using three fingers on the device display to turn off screen curtain. Or connect the device to iTunes"
    http://support.apple.com/kb/HT3577?viewlocale=en_US&locale=en_US

  • I am trying to run my registered CS6 Design Standard programs for the first time after install. InDesign runs OK, but Illustrator and Photoshop will only run in trail mode. How do I activate those two?

    I can't get my registered versions of CS6 Photoshop and Illustrator to run in full mode. I installed CS6 Design Standard online end of June (an upgrade from CS5.5), on my old MacBook Pro. I didn't run the programs then as I was waiting on arrival of new MacBook Pro. I migrated the programs from my old MacBook to the new, and today tried to run those programs for the first time. InDesign work OK (after an initial hiccup) but Illustrator and Photoshop will only run in trial mode, and won't let me save files. My CS6 Design Standard shows with it's registration in my Adobe Account. All seems in order, but Illustrator and Photoshop won't run in registered mode. Can you please help?

    Demons1 in the future please only migrate your documents and settings.
    Please use the uninstallers to remove your current installation.  They are located in the Applications/Utilities/Adobe Installers folder.  Once the uninstall is complete you will also want to run the CC Cleaner Tool.  You can find more details at Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6 - http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html.
    If you need to download a fresh copy of the installation files for Creative Suite 6 you can do so at Download CS6 products.

  • My phone is stuck in recovery mode, and iTunes will only let me restore to factory settings.  My question: Can I restore from iTunes backup after restoring to factory settings?

    I attempted to update to iOS 8 and now my phone is stuck in recovery mode, and iTunes will only let me restore to factory settings.  My question: Can I restore from iTunes backup after restoring to factory settings?

    Hi, kformagg
    I would say yes. I once had the same problem (iPhone 5, IOS 7) and first restored to factory settings and after that from iCloud backup.
    It worked very well.

  • I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages.  If I type it won't

    I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages.  If I type it won't continue in Hebrew.  I have tried downloading several fonts, including those from professional societies, but the only way to get Hebrew in my document is to cut and paste.  Does anyone know how to fix this?  I use an older MacBook running OS 10.9.1.  I used to do my Hebrew work in Word, but it is no longer supported by Mac OS.

    Just clarifying:
    Pages '09 has bad support for Hebrew, Arabic etc but will accept pasted text.
    Pages 5 has much better support but with bugs.
    If you have columns they are in the wrong order ie Text starts in the left column and ends in the right column.
    If you type English into Hebrew text it tends to fall in the wrong position eg instead of to the left of Hebrew punctuation it goes to the right.
    As Tom recommends the only real solution on the Mac is Mellel.
    Peter
    btw Tell Apple, they are amazingly slow to fix this running sore which has been broken since RtoL was supposedly introduced in OSX 10.2.3 over a decade ago.
    Peter

  • I receive daily emails from the NY Times, which I read from my Ipad. Some of the emails will show all of the stories available, and some will only show a few lines in the body and the rest of the email is blank. Any ideas of what I need to do to fix this?

    I receive daily emails from the NY Times, which I read from my Ipad. Some of the emails will show all of the stories available, and some will only show a few lines in the body and the rest of the email is blank. Any ideas of what I need to do to fix this?

    Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.

  • I am trying to upload movies from my itunes to my iphone and it will only upload a select few. Why?

    Help! I am trying to upload movies from my iTunes to my iPhone and it will only upload a select few. Why?

    You are using File->Add File (or Folder) to Library, right?
    Make sure that you also look at the various categories of content stored on the library:  turn on the sidebar (Ctrl+S keys toggle) and click the categories to see if the content shows in the content window of iTunes.
    It could be you are trying to add a video/movie in a format iTunes does not accept because it cannot play it or work with it.  (And yes, if iTunes cannot add it to the library, it should absolutely report an error message rather than leave you wondering and drop the command.)

  • Safari status bar disappears.  I have tried clicking on show status bar and it will only appear when I move the cursor to the top of the screen.  I can not minimize the open page only full screen or close the browser.  Any idea how the rectify this

    Safari status bar disappears. I have tried clicking on show status bar, under the View tab and it will only appear when I move the cursor to the top of the screen. I can not minimize the open page, only full screen or close the browser. Any idea how the rectify this issue?

    One enters and exits full-screen with control+command+F keys. This is on the View menu in Safari. Optionally, the green traffic light in your browser title bar, if you roll over it, has the full-screen control it it. While in full-screen mode with Safari, moving your mouse pointer virtually up, and off-screen reveals the Safari title bar again, and you can click the green traffic light to exit full-screen mode.
    You can hide/show the status bar by simply typing command+/. This too, is on the Safari View menu. and in 10.10.1 — it works reliably for me.

  • HT201318 I'm trying to purchase a plan on my phone and it will only let me choose the $100. upgrade

    I'm trying to purchase a plan on my phone and it will only let me choose the $100. plan which i dont need

    Yes, but if you delete the iCloud account and start again, don't you have to wait 90 days for everything to start syncing??  I've been having this problem for months and no one seems to be able to figure it out.  I used to have one Apple ID (which was not an email address) and then when iOS came along....and iCloud, they force you to use your email address as ID ....which actually sets up a SECOND Apple ID.  I have a Mac, iPad, iPod touch and iPhone.  the Apple techs tried to delete the iCloud accounts so that they all said the same thing (email address ID) but then I had to wait 90 days.  the 90 days just passed and nothing is automatically syncing yet.  I still think there are 2 accounts but if I delete all again.....it's going to be another 90 days (for security reasons, I was told).  This is a real pain in the butt.

  • HT4859 I backedup iphone 4 and iphone 5 to icloud. I need contacts from the ipone 4 backup but I do not have that phone anymore and icloud will only let me restore the iphone 5's backups now. Is there anyway to get the contacts from my previous iphone 4?

    I backedup my iphone 4 to the cloud before upgrading to an iphone 5. I also backedup my iphone 5 to icloud. I can see both phone's backups side by side on the my screen on icloud. But it will not allow me to restore the iphone 4 backup to my iphone 5.  I need contacts from the iphone 4 backup but I do not have that phone anymore and icloud will only let me restore the iphone 5's backups to my iphone 5. Is there anyway to get the contacts from my previous iphone 4 backup?

    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.

  • I am trying to play a video I purchased and it will only play the first 20 minutes

    I purchase a video from iTunes and it will only play the first 20 mintues of the 56 minute video. Help?

    Yes, but that website was for correcting the problem through your iTunes in your computer. I downloaded it to my iPad and now  am trying to play it on m iPad and it stops after 20 minutes in..

  • I rented a movie on iTunes and it will only play 23 mins of the movie.  The screen freezes.  Ant suggestions?

    I rented a movie on iTunes and it will only play 23 mins of the movie.  The screen freezes.  Ant suggestions?

    Hi HudsonPond,
    I'm sorry to hear you are having issues with your movie rental. The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

  • How do I attach a folder that contains multiple documents? I try and it will only allow me to pick one document at a time.

    I'm trying to upload to my school's online blackboard (which is where I submit papers) and I cannot seem to figure out how to upload a folder I made on my desktop. I created multple folders containing more than one document and thought this would be easier then each individual document. But I cannot attach the whole folder. I have to pick each document which I could have done in the beginning!! Any thoughts? I tried to hit shift and then control to highlight all of them but that did not work. Any advice welcome:)

    Geiger,
    This is what you get when you key the word sections into the help function:
    *Creating Sections*
    +In a word processing document, a section consists of one or more pages.+
    +Each Pages template consists of one or more predefined sections. Every time you add pages to the document by using the Sections (word processing) or Pages (page layout) button in the toolbar, you add a new section.+
    +In a page layout document, each page is one section. You can use the predefined sections as they are, or you can modify or remove them one page at a time.+
    +In a word processing document, you can use the predefined sections as they are, or you can create or remove section breaks to define your own sections. To add a page to a section, add more content and pages will be automatically added, or insert a page break.+
    +Here are ways to work with section breaks in word processing documents:+
    +To insert a section break, place the pointer where you want the break to occur, and then choose Insert > Section Break or click Sections in the toolbar and choose an item from the list.+
    +When you show invisibles in your document (click View in the toolbar and then choose Show Invisibles), a section break symbol marks the location of the section break.+
    +The new section has the same formatting as the previous section until you change it. Changes you make to master objects, headers, footers, or page numbering will apply only to the section in which you make the changes. See Using Master Objects (Repeated Background Images) for information about master objects.+
    +To remove a section break, click at the beginning of the line that follows the break and press the Delete key.+
    -Dennis

  • I replaced battery and now will only turn on when plugged into a charger..

    I replaced my batter on my iphone 3gs and then it will only turn on when i connect it to a power source.
    After it has turned on you can take it off charge and it will stay on...
    Help please!! thanks

    Either you got a bad battery, didn't install it correctly, did some other damage while installing, or haven't let it charge enough yet. There's really nothing we can do to help you with any of those scenarios.
    Regards.

  • I am trying to save a document with the new pages and it will only save as a zip file any ideas on how to change this?

    I am trying to save a document with the new Pages and it is only saving as a ZIP file anyone know how to fix this or choose a different file type?

    Take a look at the FileSelector
    First make sure the FileSelector is expanded so you can see the directory and sidebar. That's what the little disclosure triangle up by the filename is for. Once the FS has been expanded to look like the above picture, look to see what subdirectory has been selected. Use the SideBar to select an appropriate one.

Maybe you are looking for

  • How do I bypass credit card details for free app?

    This is the 3rd I've written this, I have no idea why this isn't posting. The annoying pop up keeps appearing demanding me to update expired credit card details. I'm trying to download a FREE app that I urgently need to use. But the pop up appears ev

  • ITunes locks up computer when ripping some CDs

    I have been building my iTunes library. iTunes rips some CDs with no problem. However, ripping other CDs causes my computer to lock up which requires a hard shut down in order get out of iTunes. The CDs which are a problem with iTunes can be ripped w

  • ODDC WebCapture not working with IP Address

    Hi All, I have installed Oracle Distributed Document Capture,Everything working fine with localhost. http://localhost/DocumentCapture/WebCapture.asp?script=1 but if use http://120.120.20.20/DocumentCapture/WebCapture.asp?script=1 with Ip Address givi

  • Creating functions for movie-clips(serious problem)

    Hello, This is I think my third thread on these forums and in my previous threads I had always got some help.Well, now I have another serious problem, can you help me? I am unable to create a function that can control movie clips. Let me explain:- I

  • Text blocking

    Hi All, I have been told by one of my friends that all their text messages to me keep bouncing back.  I don't want them blocked, I haved checked my firewall and it says 0 messages blocked.  I have turned my phone completely off and I have deleted thi