IPhone HE-AAC Streaming over Mobile Network (3G)

Developed an internet radio streamer using utilizing the html5 audio tags with jQuery and with a flash fall back for unsupported browsers, streaming through an icecast2 server. Upon testing the player on the iPhone Safari (iOS 5.0.1), we ran into a very peculiar issue.
When the iPhone is connected to WiFi, it streams perfectly using the HE-AAC V2 stream @ 64kbps 44.1kHz (the preferred codec for apple products). However, when the iPhone is connected to the 3G mobile network (ATT and Verizon), it "stutters/buffers" or stops streaming for 1-2 secs every 1-2 minutes (does not stop streaming completely). The troubling thing is when the iPhone is forced to use a separate MP3 stream at the same bit rate, it does not have this issue and works very well on 3G.

Hi Lawrence,
Thanks for the fast response. I'm confused as to how AAC requires higher bandwidth over MP3 when it can produce higher quality audio at lower bit rates therefore requiring less bandwidth to stream over 3G. Are you referring to the bandwidth of the audio signal itself (at the codec level)?

Similar Messages

  • HT201274 Can a Sprint Iphone 5 work with T-mobile network? How can one unlock with the MSL code? Sprint is not abiding by the Unlocking Consumer Choice and Wireless Competition Act.  FCC will only enforce if we file more complains.

    Can a Sprint Iphone 5 work with T-mobile network? How can one unlock with the MSL code? Sprint is not abiding by the Unlocking Consumer Choice and Wireless Competition Act.  FCC will only enforce if we file more complains.

    T-Mobile is a GSM network whereas Sprint is a CDMA network. They are incompatible. Sprint is not obliged to unlock a phone that is still under contract. Their phones may not be capable of being unlocked.

  • BBM not working over mobile network

    BBM on Q10 not working over mobile network.
    Working only via wifi.
    Carrier: KSA STC
    OS: Official 10.2.1.2102
    Please help.
    Its very disappointing that bbm is not working on bb.

    Can you try sending a BBM friend a PIN message, not in BBM, but in your Compose Message > PIN.
    You will need that contact's BBM PIN number...
    Do you see the message sent, and does it hae a D beside or R afterwards?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Odd high data consumptio​n on 10.3.1 (and 10.2.1) - on wifi, but routing over mobile network?

    Couldn't find a similar recent thread. Just an inconclusive one from 2013 that looked more about the difference between BBOS 7 & BB10.
    tl;dr: It looks like my Z10 is routing some traffic to the mobile network when to applications it looks like the wifi connection is active.
    I have not previously had high data-use issues with my Z10. On Friday February 20th, I updated to 10.3.1.1581. On Friday March 6th, I got a notice saying I'd used 75% of my data (billing cycle is on the 18th, 800MB limit). At that point, the device monitor said I'd used ~300MB*.
    Woke up the next morning and say an alert that came in overnight saying I'd gone past my limit, and the device monitor said I'd used ~540MB.
    240MB of mobile network data use while I was at home, connected to wifi, and asleep. The device monitor attributed it to "System". Normally, my mobile data use is mostly PIM and Browser.
    I looked back in the data usage report from Koodo and saw that there was a previous, similar spike on Feb 20, earlier in the day before the 10.3.1 upgrade. Right around the time I turned on wifi at work and put the phone on its dock, hoping to start the upgrade. That failed due to AP issues.
    I use "Pocket Casts" (Android podcast app). It's set to download only when on wifi and connected to power.
    Could it be that it thought I was connected to wifi, but due to weak signal strength, the OS actually routed the connection over the mobile network? I sometimes only have one bar of signal strength in my bedroom.
    If that's the case, why is an Android app's data use recorded as "System" and not at least "Android Player"? It looks like it must be lumped in under "System", though, as the wifi usage numbers don't show anything else with enough bandwidth consumption to account for podcast downloads.

    hi,
    what is Koodo and what do "AP issues" mean?
    besides, on Friday 20th, which OS version did you update from?
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Z10, no bbm over mobile network

    My Z10 (10.3.1) does not connect to BB services when not on wifi.  Ie there is not bb icon on the top right of the screen when on mobile network. What's curious to me at least, is that on the mobile network, bbm video and voice calls work, just not the messages. Once on wifi, the bb logo appears and all is well. I contacted my provider (Telus) and they suggested that is was a sim problem or a phone problem. I had the sim replaced and it did not solve the problem. This occured today July 26 and its been about 9 hours like this. How can I get bbm to work again please?  ( I am currently upgradeing to OS 10.3.2.2 Thanks

    jsluvi69 wrote:
    I am experiencing the same porblem but I am on rogers!  So it is multiple carriers sounds like a blackberry problem.  All occured after the update.
    Hi 
    Are you still encountering issues using BBM over mobile? Thanks! 

  • Live audio streaming over wifi network

    What I would like to know, is it possible to stream live audio over a wifi network.
    PC A records a stream from a mic and then simultaneously broadcasts that same stream live over the entire wifi network, sorta like a radio station only on a much smaller and simpler scale.
    Is this possible?

    It seems like I'm missing something with icecast. If I understand it correctly then you can only play an existing media file, no real time live broadcasting?
    I have finished setting it up and can listen in over the network, but I need real time broadcasting. Is there a way to do this in icecast or should I look at something else.
    SYNOPSIS:
    While someone is talking over the mic the server records the stream with Audacity for editing later on. The problem is that I want this stream to be simultaneously streamed live to another PC so that people next door to the meeting can hear it real time, no delays. A few seconds delay is not critical, but I cannot record and hour long session and then broadcast it, it has to be real time.
    To complicate things, there is no internet available, we are in the middle of nowhere on a secluded convention centre, so that is why it seemed to me like the easiest would be to broadcast via WIFI.

  • Blend maintaining connection over mobile network

    Hi there,
    I've been using BB Blend (on a Lenovo laptop) by connecting my BB Z10 via an USB cable (no Wi-Fi).
    Only today, BB Blend has remained connected to my handset even after I disconnect the cable. On the handset I get the message that Blend has switched to a mobile network connection ansd so it remains connected to my BB Z10.
    Now, my  questions are:
    How and to which network does Blend on the Lenovo laptop connect? (even if it is the handset's network, how does the laptop connect?) 
    Is this something I should be concerned about - in terms of security?
    Thanks everybody.

    Hello,
    When you disconnect the USB cable, the "hard line" connection between the device and the computer is of course severed. If they are both on the same "local" (e.g., no carrier data network involved) network (either WiFi or hybrid wired and WiFi), the two can communicate with each other that way. If you have set the configuration on the device to allow it to continue to be connected to the computer when the BB has moved off of all WiFi and is solely on your carrier data network, then the two will continue to communicate via that means.
    In that last configuration, your BB is communicating to your PC via the wired (or WiFi) network on which your laptop is located, and the BB is communicating via the carrier data network. Those two are then in turn connected via the Internet.
    This is a setting you control, on the device. If you do not want this communication happening when the BB moves solely to the carrier data network, then simply shut the setting off on your device.
    Hope that helps!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • ICal / MobileMe To Dos & iPhone syncing over mobile networks: Solution!!!

    I have been after a solution to use the to do list in iCal on my Mac @ home and the MobileMe Calendar web page while at work & away from home AND have it sync OTA with my iPhone. There hasn't been a solution that I have found for this until now! I have tried Things and OmniFocus, but in my opionion they are both too bloated for my needs. I want a simple todo list with due dates, notes, priorities and URLs, that I can use on desktops as well as mobile. The iCal / MobileMe to do list is perfect for this, but until now there hasn't been a way to keep the same todo list on my iPhone and keep it in sync everywhere.
    I now have a solution. Appigo recently launched a beta of their iCal Sync app for OSX. I downloaded & installed this to my Mac at home, and downloaded their iPhone Todo app. Great syncing between iCal and iPhone over my home Wifi network. Then, I thought, what is to stop me using this over the internet when I'm not at home? So I setup a domain with no-ip.org, which allows you to point a domain name at your home DSL router IP address and have it forward traffic to your home computer. Using a DNS solution in this way means you can dynamically update the domain name to change when your router public IP address changes (unless you have a static IP assigned with your ISP). So, anyway, I set this up to point at my router's public IP address, then configured my home router to forward a specific TCP port to my Mac. So when traffic arrives at the router from the internet destined for this specific port, the router forwards it to the Mac. I configured the Appigo iCal sync app to listen on a static port (the same one I configured on the router) and ensured both my Mac and router firewalls were set to permit this traffic.
    So now, with MobileMe set to sync automatically, I can add/edit/delete a todo on my iPhone when I'm away from my home wifi network and it instantly syncs with iCal on my Mac at home, then that gets propogated almost instantly to MobileMe. Also it means a change to the todo list on my Mac or on the MobileMe Calendar web page will also almost instantly get propgated to my iPhone (next timne the Todo app syncs).
    Brilliant! The perfect solution for me, and only costing the price of the Appigo todo iPhone app!
    If anyone would like more detail on how this was all done, let me know and I can go into more detail.
    Just need to find something similar for note syncing now, and I'll be sorted.

    Thanks for the excellent information on Appigo ToDo and Sync. This is great way to fulfill the unexplainable absence of this feature from Apple's own application suite (MobileMe, iCal, To Do items).
    I downloaded Sync and the iPhone app. Configuration was a snap. I'm still working from a trial membership of MobileMe...with this feature working I'm just about ready to pony up and get a full membership.

  • Streaming over a network

    Hi All
    I can stream music from itunes to devices over my house, how can i do teh same for movies.

    Intermittent issues usually come down to network interference. Check www.istumbler.net

  • IPhone 3G stuck on T-Mobile Network and no service!

    I am on Rogers in Canada and live on the border with the US and always pickup the US towers. When I pickup AT&T towers, my phone works as usual but every now and then it picks up a t-mobile and when it does, the phone because useless. Now it could be that Apple blocks ALL non AT&T networks but now they didn't think about all those Canadians or International users that would visit the US and cannot force their phone any network.
    Problem is, when I go to the Carrier option in Settings, it either keeps searching and then crashes and reboots or gives an error message "Unable to load network list"
    Calling Rogers did nothing because they mentioned that a few customers had this problem and the only thing they can do is block roaming on my phone which doesn't fly with me because I travel there quite frequently.
    Network bars go up and down until it crashes and reboots again. Very weird.
    I can't believe that Apple did not think of this one.
    BTW, its still happening after the 2.02 update. Although I did notice a huge improvement in reception after the update on the Rogers Network.

    Yes, that kind of tallies with my experience ... after 3 days of useless iPhone 3G (BTW, killing 3G on the phone and relying on acquiring AT&T 2G didn't help, it still locked onto T-Mobile with the result that it was draining battery and rebooting frequently!), I ended up visiting the local Apple Store.
    Although the visit was not to resolve the iPhone problem, whilst there I happened to cycle the phone and due to the store having a local AT&T cell, the strength of the local signal meant that I finally re-acquired a AT&T 3G signal ... once locked on again the phone was fine for the next day.
    Nett outcome of this is that I would prefer to lay most of the blame for this debacle on the poor state of 3G support both by AT&T (and US carriers in general), maybe exacerbated in my case by two related events (the local DNC in Denver, which saturated local AT&T cells including 3G and a proliferation of v2.0.0 and v2.0.1 firmwares on iPhones in town, which dragged cell coverage into the weeds).
    It would be nice for future sanity if AT&T and T-Mobile could at least resolve the ability to acquire/release the iPhone gracefully, otherwise I'll be very sceptical of travelling back to the US with only my iPhone, as a self-employeed consultant I can't afford to be out of touch for three days again!

  • Receiving stream over IPv6 network is not working

    Hi!
    I try to use JMF in IPv6 networks, but there is a problem. Sending a rtp steram is not a problem, but I can not receive a stream, becouse ReceiveStreamEvent and NewReceiveStreamEvent won't occure.
    When I use a IPv4 Network there is no problem.
    I checkt allso the send and receiven network packets on both computers. All packets arrive, so it is not a configuration problem, but it seems to be a JMF problem. I read allso the hints form the Monash university (http://www.ctie.monash.edu.au/DSS-IPv6/jmf-ipv6.htm), everithing seems to be correctly configured.
    Does anybody has experience with JMF and IPv6?
    Maybe anybody could test his own software in IPv6 networks to see if JMF is working with IPv6?
    Thanks
    Adam

    This is not the answer you're looking for,
    I run run Mac OS X Server with a static IP address, and don't use DHCP with it.
    If you're on an ISP line that requires DHCP addressing (dynamic addressing from your ISP, and not static IP), then use an external firewall as the edge of your network. The firewall fields the DHCP connection from the ISP, and also provides NAT. The firewall also provides the IP gateway router function for your network. And even with static IP, I use a similar configuration with the network configuration.
    Within the network perimeter provided by the firewall, assign your own (private) static IP address for your Mac OS X Server box.
    The Airport Extreme and Time Capsule boxes are nice WiFi devices and can be reasonable for small home networks and related connection, but are comparatively feature-weak firewall/NAT devices for use with servers. I tend to run these devices configured as Access Points (APs); as bridges, and to then serve the various network functions off of other LAN devices or off the Mac OS X Server boxes.

  • HT3529 My iphone 5 updated via t-mobile network. picture messaging will not work, unlocked phone

    My phone said that the network needed to update. I did so, and my picture messaging doesn't work. I have an unlocked iphone 5, had it since last fall, I've added the settings in the cellular network before. But now it's different after this update.

    mcfcmikey wrote:
    I am travelling and bought an iphone 5 while in Colombia off an america. The phone is locked to tmobile network USA, i have checked the IMEI and the phone is legitimate and not blacklisted.
    I want to know will the phone work in the uk with a uk tmobile or EE sim card or will i need to get the phone unlocked? and if i do need it unlocking does anyone have any good reccomendations?
    Thanks
    Mike
    That  doesn't sound like you bought it from a legimate source with a receipt from the Apple store.
    that sounds like you bought it off a person either thru craiglist or ebay.

  • Problem with using JMF audio over a network

    Hiya, I'm using IBM JMF code but I'm having problems trying to get it transmit data from the MediaTransmitter to the MediaPlayerFrame.
    I'm kinda new to JMF so I assume I'm missing something basis for why this doesn't work.
    Any help would be greatly appreciated.
    MediaPlayerFrame
    import javax.media.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    * An instance of the MediaPlayerFrame may be used to display any media
    * recognized * by JMF.  This is intended to be a very simple GUI example,
    * displaying all possible controls for the given media type.
    public class MediaPlayerFrame extends JFrame {
         * The frame title.
        private static final String FRAME_TITLE = "developerWorks JMF Tutorial " +
            "Media Player";
         * The panel title of the main control panel.
        private static final String CONTROL_PANEL_TITLE = "Control Panel";
        // location and size variables for the frame.
        private static final int LOC_X = 100;
        private static final int LOC_Y = 100;
        private static final int HEIGHT = 500;
        private static final int WIDTH = 500;
         private final static long serialVersionUID = 1;
         * The current player.
        private Player player = null;
         * The tabbed pane for displaying controls.
        private JTabbedPane tabPane = null;
         * Create an instance of the media frame.  No data will be displayed in the
         * frame until a player is set.
        public MediaPlayerFrame() {         
            super(FRAME_TITLE);
            System.out.println("MediaPlayerFrame");
            setLocation(LOC_X, LOC_Y);
            setSize(WIDTH, HEIGHT);
            tabPane = new JTabbedPane();
            getContentPane().add(tabPane);
            /* adds a window listener so that the player may be cleaned up before
               the frame actually closes.
            addWindowListener(new WindowAdapter() {
                                   * Invoked when the frame is being closed.
                                  public void windowClosing(WindowEvent e) {
                                      closeCurrentPlayer(); 
                                      /* Closing this frame will cause the entire
                                         application to exit.  When running this
                                         example as its own application, this is
                                         fine - but in general, a closing frame
                                         would not close the entire application. 
                                         If this behavior is not desired, comment
                                         out the following line:
                                      System.exit(0);
         * Creates the main panel.  This panel will contain the following if they
         * exist:
         * - The visual component: where any visual data is displayed, i.e. a
         * movie uses this control to display the video.
         * - The gain component:   where the gain/volume may be changed.  This
         * is often * contained in the control panel component (below.)
         * - The control panel component: time and some extra info regarding
         * the media.
        private JPanel createMainPanel() {
            System.out.println("createMainPanel");
            JPanel mainPanel = new JPanel();
            GridBagLayout gbl = new GridBagLayout();
            GridBagConstraints gbc = new GridBagConstraints();
            mainPanel.setLayout(gbl);
            boolean visualComponentExists = false;
            // if the visual component exists, add it to the newly created panel.
            if (player.getVisualComponent() != null) {
                visualComponentExists = true;
                gbc.gridx = 0;
                gbc.gridy = 0;
                gbc.weightx = 1;
                gbc.weighty = 1;
                gbc.fill = GridBagConstraints.BOTH;
                mainPanel.add(player.getVisualComponent(), gbc);
            // if the gain control component exists, add it to the new panel.
            if ((player.getGainControl() != null) &&
                (player.getGainControl().getControlComponent() != null)) {
                gbc.gridx = 1;
                gbc.gridy = 0;
                gbc.weightx = 0;
                gbc.weighty = 1;
                gbc.gridheight = 2;
                gbc.fill = GridBagConstraints.VERTICAL;
                mainPanel.add(player.getGainControl().getControlComponent(), gbc);
            // Add the control panel component if it exists (it should exists in
            // all cases.)
            if (player.getControlPanelComponent() != null) {
                gbc.gridx = 0;
                gbc.gridy = 1;
                gbc.weightx = 1;
                gbc.gridheight = 1;
                if (visualComponentExists) {
                    gbc.fill = GridBagConstraints.HORIZONTAL;
                    gbc.weighty = 0;
                } else {
                    gbc.fill = GridBagConstraints.BOTH;
                    gbc.weighty = 1;
                mainPanel.add(player.getControlPanelComponent(), gbc);
            return mainPanel;
         * Sets the media locator.  Setting this to a new value effectively
         * discards any Player which may have already existed.
         * @param locator the new MediaLocator object.
         * @throws IOException indicates an IO error in opening the media.
         * @throws NoPlayerException indicates no player was found for the
         * media type.
         * @throws CannotRealizeException indicates an error in realizing the
         * media file or stream.
        public void setMediaLocator(MediaLocator locator) throws IOException,
            NoPlayerException, CannotRealizeException {
              System.out.println("setMediaLocator: " +locator);
            // create a new player with the new locator.  This will effectively
            // stop and discard any current player.
            setPlayer(Manager.createRealizedPlayer(locator));       
         * Sets the player reference.  Setting this to a new value will discard
         * any Player which already exists.  It will also refresh the contents
         * of the pane with the components for the new player.  A null value will
         * stop the discard the current player and clear the contents of the
         * frame.
        public void setPlayer(Player newPlayer) {      
            System.out.println("setPlayer");
            // close the current player
            closeCurrentPlayer();          
            player = newPlayer;
            // refresh the tabbed pane.
            tabPane.removeAll();
            if (player == null) return;
            // add the new main panel
            tabPane.add(CONTROL_PANEL_TITLE, createMainPanel());
            // add any other controls which may exist in the player.  These
            // controls should already contain a name which is used in the
            // tabbed pane.
            Control[] controls = player.getControls();
            for (int i = 0; i < controls.length; i++) {
                if (controls.getControlComponent() != null) {
    tabPane.add(controls[i].getControlComponent());
    * Stops and closes the current player if one exists.
    private void closeCurrentPlayer() {
    if (player != null) {
    player.stop();
    player.close();
    * Prints a usage message to System.out for how to use this class
    * through the command line.
    public static void printUsage() {
    System.out.println("Usage: java MediaPlayerFrame mediaLocator");
    * Allows the user to run the class through the command line.
    * Only one argument is allowed, which is the media locator.
    public static void main(String[] args) {
    try {
    if (args.length == 1) {
    MediaPlayerFrame mpf = new MediaPlayerFrame();
    /* The following line creates a media locator using the String
    passed in through the command line. This version should
    be used when receiving media streamed over a network.
    mpf.setMediaLocator(new MediaLocator(args[0]));
    /* the following line may be used to create and set the media
    locator from a simple file name. This works fine when
    playing local media. To play media streamed over a
    network, you should use the previous setMediaLocator()
    line and comment this one out.
    //mpf.setMediaLocator(new MediaLocator(
    // new File(args[0]).toURL()));
    mpf.setVisible(true);
    } else {
    printUsage();
    } catch (Throwable t) {
    t.printStackTrace();
    MediaTransmitter
    import javax.media.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import java.io.IOException;
    import java.io.File;
    * Creates a new media transmitter.  The media transmitter may be used to
    * transmit a data source over a network.
    public class MediaTransmitter {
         * Output locator - this is the broadcast address for the media.
        private MediaLocator mediaLocator = null;
         * The data sink object used to broadcast the results from the processor
         * to the network.
        private DataSink dataSink = null;
         * The processor used to read the media from a local file, and produce an
         * output stream which will be handed to the data sink object for
         * broadcast.
        private Processor mediaProcessor = null;
         * The track formats used for all data sources in this transmitter.  It is
         * assumed that this transmitter will always be associated with the same
         * RTP stream format, so this is made static.
        private static final Format[] FORMATS = new Format[] {
            new AudioFormat(AudioFormat.MPEG_RTP)};
         * The content descriptor for this transmitter.  It is assumed that this
         * transmitter always handles the same type of RTP content, so this is
         * made static.
        private static final ContentDescriptor CONTENT_DESCRIPTOR =
            new ContentDescriptor(ContentDescriptor.RAW_RTP);
         * Creates a new transmitter with the given outbound locator.
        public MediaTransmitter(MediaLocator locator) {
            mediaLocator = locator;
         * Starts transmitting the media.
        public void startTransmitting() throws IOException {
            // start the processor
            mediaProcessor.start();
            // open and start the data sink
            dataSink.open();
            dataSink.start();
         * Stops transmitting the media.
        public void stopTransmitting() throws IOException {
            // stop and close the data sink
            dataSink.stop();
            dataSink.close();
            // stop and close the processor
            mediaProcessor.stop();
            mediaProcessor.close();
         * Sets the data source.  This is where the transmitter will get the media
         * to transmit.
        public void setDataSource(DataSource ds) throws IOException,
            NoProcessorException, CannotRealizeException, NoDataSinkException {
            /* Create the realized processor.  By calling the
               createRealizedProcessor() method on the manager, we are guaranteed
               that the processor is both configured and realized already. 
               For this reason, this method will block until both of these
               conditions are true.  In general, the processor is responsible
               for reading the file from a file and converting it to
               an RTP stream.
            mediaProcessor = Manager.createRealizedProcessor(
                new ProcessorModel(ds, FORMATS, CONTENT_DESCRIPTOR));
            /* Create the data sink.  The data sink is used to do the actual work
               of broadcasting the RTP data over a network.
            dataSink = Manager.createDataSink(mediaProcessor.getDataOutput(),
                                              mediaLocator);
         * Prints a usage message to System.out for how to use this class
         * through the command line.
        public static void printUsage() {
            System.out.println("Usage: java MediaTransmitter mediaLocator " +
                               "mediaFile");
            System.out.println("  example: java MediaTransmitter " +
                "rtp://192.168.1.72:49150/audio mysong.mp3");
            System.out.println("  example: java MediaTransmitter " +
                "rtp://192.168.1.255:49150/audio mysong.mp3");
         * Allows the user to run the class through the command line.
         * Only two arguments are allowed; these are the output media
         * locator and the mp3 audio file which will be broadcast
         * in the order.
        public static void main(String[] args) {
            try {
                if (args.length == 2) {
                    MediaLocator locator = new MediaLocator(args[0]);
                    MediaTransmitter transmitter = new MediaTransmitter(locator);
                    System.out.println("-> Created media locator: '" +
                                       locator + "'");
                    /* Creates and uses a file reference for the audio file,
                       if a url or any other reference is desired, then this
                       line needs to change.
                    File mediaFile = new File(args[1]);
                    DataSource source = Manager.createDataSource(
                        new MediaLocator(mediaFile.toURL()));
                    System.out.println("-> Created data source: '" +
                                       mediaFile.getAbsolutePath() + "'");
                    // set the data source.
                    transmitter.setDataSource(source);
                    System.out.println("-> Set the data source on the transmitter");
                    // start transmitting the file over the network.
                    transmitter.startTransmitting();
                    System.out.println("-> Transmitting...");
                    System.out.println("   Press the Enter key to exit");
                    // wait for the user to press Enter to proceed and exit.
                    System.in.read();
                    System.out.println("-> Exiting");
                    transmitter.stopTransmitting();
                } else {
                    printUsage();
            } catch (Throwable t) {
                t.printStackTrace();
            System.exit(0);

    Okay, here's the it copied out.
    Media Transmitter
    C:\John\Masters Project\Java\jmf1\MediaPlayer>java MediaTransmitter rtp://127.0.
    0.1:2000/audio it-came-upon.mp3
    -> Created media locator: 'rtp://127.0.0.1:2000/audio'
    -> Created data source: 'C:\John\Masters Project\Java\jmf1\MediaPlayer\it-came-u
    pon.mp3'
    streams is [Lcom.sun.media.multiplexer.RawBufferMux$RawBufferSourceStream;@1decd
    ec : 1
    sink: setOutputLocator rtp://127.0.0.1:2000/audio
    -> Set the data source on the transmitter
    -> Transmitting...
       Press the Enter key to exit
    MediaPlayerFrame
    C:\John\Masters Project\Java\jmf1\MediaPlayer>java MediaPlayerFrame rtp://127.0.
    0.1:2000/audio
    MediaPlayerFrame
    setMediaLocator: rtp://127.0.0.1:2000/audioAs I said, it just kinda stops there, what it should be doing is opening the MediaPlayer.
    "MediaPlayerFrame" and "setMediaLocator: rtp://127.0.0.1:2000/audio" are just print outs I used to track here the code is getting to.

  • RTP Streaming over the internet

    Having some problems streaming over the internet - probably because im doing it wrong.
    I can stream over a network fine using Transmit2.java.
    But when i try over the internet cant pick up the stream.
    Im using www.whatismyip.com to get the internet IP of the 2 computers im trying to stream to and from - and using these in the code, but nothing happens.
    Help?

    natdeamer wrote:
    Having some problems streaming over the internet - probably because im doing it wrong.That's correct, you're doing it wrong.
    Im using www.whatismyip.com to get the internet IP of the 2 computers im trying to stream to and from - and using these in the code, but nothing happens.99% of the time, your public IP actually addresses your router, rather than your computer. That means your computer is not publically addressably by it's IP address alone. You'll need to do something called a "NAT holepunch", which you can look up online. Also, I've included two links to discussions I've had with people about the same issue.
    [http://forums.sun.com/thread.jspa?forumID=28&threadID=5355413]
    [http://forums.sun.com/thread.jspa?forumID=28&threadID=5356672]

  • Does iphone use wifi or mobile network preferentially?

    Hi - stupid question really...
    If connected to a wifi network (e.g. at home), does the iphone use this instead of the mobile network, therefore, saving on you data allowance?
    Or is there a setting you can change so it does this?

    Hey tkoe,
    The iPhone will connect to the Internet over the fastest connection available, Wi-Fi>3G>EDGE.
    +"How iPhone Connects to the Internet+
    +iPhone connects to the Internet using either a Wi-Fi network or a cellular data network.+
    +iPhone does the following, in order, until connected:+
    +Connects over the last Wi-Fi network you used that’s available.+
    +If no previously used Wi-Fi networks are available, iPhone shows a list of Wi-Fi+
    +networks in range. Tap a network and, if necessary, enter the password to join.+
    +Networks that require a password show next to them. You can prevent iPhone+
    +from automatically showing available networks. See “Wi-Fi” on page 102.+
    +If no Wi-Fi networks are available or you choose not to join any, iPhone connects to+
    +the Internet over a cellular data network ( , , or ). You cannot access the iTunes+
    +Wi-Fi Music Store over a cellular data network.+
    +If no Wi-Fi networks are available and a cellular data network isn’t available, iPhone+
    +cannot connect to the Internet. "+ From page 30 of the iPhone User Guide
    http://manuals.info.apple.com/en/iPhoneUserGuide.pdf
    Jason

Maybe you are looking for

  • Aperture 3.3 "import folders as projects" broken

    Dear all, I am attempting to "import folders as projects" after upgrading from 3.2 to 3.3, and it breaks EVERYTIME. I am attempting to import from an external USB3 HDD which was formated for mac properly, and checked and rechecked using the disk mana

  • Adobe Reader 9.1.0 Error accessing preferences under Mac OSX 10.5.7

    On my Intel iMAC under German Mac OSX 10.5.7 or 10.5.6 I can not open the preferences (in German:Voreinstellungen) of Adobe Reader 9.1.0, I am always getting an error: "Fehler beim Laden einer Anwendungsresource" (Error while accessing a program reso

  • Using Apple Remote

    Hey, I have an Apple Remote and I would like to use it with Spotify. I know it works, but I'm experiencing one problem with the play/pause button. When I push this, iTunes is automatically launched. Is there a solution to prevent iTunes from being la

  • Using Black ink instead of Photo Black ink

    I have an HP Photosmart Premium 309a and would like to know what settings I need to change so that when printing a text document it uses the black ink instead of the photo black ink. OR What settings do I need to change so that my 309a uses black ink

  • Creative Entertainment Cen

    i use my?Remote with my sound card (Soundblaster Audigy 4 Pro)every time i press a button creative entertainment center opens as much as it is usfell i was wondering if u could put in a option to disable the opening of the entertainment centerand pos