title: Phonegap Media Streaming is not working on iOS
body: <p>I'm using the Media class of the phonegap to stream an audio from a url which the format of the url is the ip with the port. On the android is working fine, the sound is playing. On the iOS is not playing and I don't know why. Can anyone tell me what I'm doing wrong?
  Here is the function of my streaming.</p>
  
  <pre><code>function playAudio(src) {
      // Create Media object from src
      setAudioPosition("Please wait...");
      my_media = new Media(src, onSuccess, onError);
  
      // Play audio
      myMedia.play({ playAudioWhenScreenIsLocked : false })
      $('.jp-play').hide();
      $('.jp-pause').show();
      // Update my_media position every second
      if (mediaTimer == null) {
          mediaTimer = setInterval(function() {
              // get my_media position
              my_media.getCurrentPosition(
                  // success callback
                  function(position) {
                      if (position &gt; -1) {
                          setAudioPosition("Playing");
                      }
                  },
                  // error callback
                  function(e) {
                      console.log("Error getting pos=" + e);
                      setAudioPosition("Error: " + e);
                  }
              );
          }, 1000);
      }
  }
  </code></pre>
  
  <p>On the xml of the project I have added the ip of the server in the whitelist but again is not working. How I can fix it?</p>