Results 1 to 6 of 6

Thread: Android not able to stream .mp3 file from wowza server

  1. #1
    Join Date
    Sep 2012
    Posts
    10

    Exclamation Android not able to stream .mp3 file from wowza server

    rtsp://stream4.sli.se:1935/ur/_definst_/mp3:171000-171999/171027-4.mp3 its working with VLC player but not with my android player ?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    When you playback in VLC, look at Tools > Codec info? Is there one set of audio and video, or two? If there are two, that indicates that UDP ports are blocked or not mapped properly. VLC is able to failover from UDP to TCP, and that is why you see two audio and two video blocks in that case. However many Android and other devices use UDP and are not able to failover.

    Otherwise, it might be an encoding problem. Make sure it is h.264 Baseline 3 or lower video, and AAC audio is recommended.

    Richard

  3. #3
    Join Date
    Sep 2012
    Posts
    10

    Exclamation

    Quote Originally Posted by rrlanham View Post
    When you playback in VLC, look at Tools > Codec info? Is there one set of audio and video, or two? If there are two, that indicates that UDP ports are blocked or not mapped properly. VLC is able to failover from UDP to TCP, and that is why you see two audio and two video blocks in that case. However many Android and other devices use UDP and are not able to failover.

    Otherwise, it might be an encoding problem. Make sure it is h.264 Baseline 3 or lower video, and AAC audio is recommended.

    Richard

    Hi Richard ,
    The Link I provided is for playing Audio ,sorry for not mentioning it earlier.When I checked Codec Details its showing two streams
    Stream 0
    Type Audio
    Codec MPEG Audio Layer/1/2/3(mpga)
    Channels 2

    Stream 1
    Type Audio
    Codec MPEG Audio Layer/1/2/3(mpga)
    Channels stereo
    Sample rate 44100Hz
    Bitrate 128kb/s

    Can you please guide me whats the problem.
    Kind Regards
    Deepak
    Last edited by Ryan86; 09-13-2012 at 01:22 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    This indicates that UDP ports are blocked or not mapped to the Wowza server properly. See #2 under Troubleshooting.

    http://www.wowza.com/forums/content....P-RTP-playback

    VLC is failing-over to TCP. The android doesn't work because it is limited to UDP, does not fail-over to TCP

    Richard

  5. #5
    Join Date
    Sep 2012
    Posts
    10

    Default

    Thanks a lot for helping me out I will check that

  6. #6
    Join Date
    Sep 2012
    Posts
    10

    Default

    Found Answer:
    Android devices cannot play MP3 streams over RTSP/RTP in any combination (audio/video or audio only). Android devices that support Flash player 10.1 can play MP3 using RTMP or Flash HTTP. When streaming to an Android device using RTSP/RTP, the RTP portion must flow over UDP. Android does not support RTSP/RTP interleaved (RTP over TCP). This means if UDP is unavailable for RTP playback, RTP over TCP will not work as a failover and your stream will not play.

Similar Threads

  1. HLS streaming of mp3 file to Android ICS using JW Player 5.9
    By dulmandakh in forum Media Players and Devices Discussion
    Replies: 3
    Last Post: 03-24-2015, 04:29 PM
  2. How to stream a mp3 file
    By SamGoody in forum On-Demand Streaming
    Replies: 11
    Last Post: 02-13-2014, 05:29 AM
  3. How to play .mp3 file on demand using stream type live ?
    By sagar123AHER in forum General Forum
    Replies: 2
    Last Post: 10-17-2013, 09:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •