Results 1 to 2 of 2

Thread: Issue playing RTSP streams on Android devices

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2014

    Default Issue playing RTSP streams on Android devices

    We're having an issue playing RTSP streams on Android devices
    When trying to play stream sometimes, we don't get anything and other times we can hear the audio without the video. (This seems totally random)
    Playing our stream with iOS and with the Test player works fine.
    Also, streaming from our Android devices works fine.

    We are using Live application with default configurations.

    Any ideas what could be wrong?


  2. #2


    Hello, can you please describe the source of the stream, and the details?

    What is the video codec?
    What is the audio codec?

    Most Android devices support RTSP/RTP streaming. When streaming to an Android device using RTSP/RTP, the RTP portion must flow over UDP. Android doesn't support RTSP/RTP interleaved (RTP over TCP). This means that if UDP is unavailable for RTP playback, RTP over TCP won't work as a failover and your stream won't play. Android devices can't play MP3 streams over RTSP/RTP in any combination (audio/video or audio-only).

    You can 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.

    Please take a look at this guide for more troubleshooting tips:
    How to troubleshoot RTSP/RTP playback

    Kind regards,


Similar Threads

  1. How to play more than two live streams on one screen on iDevices or Android devices?
    By iamkoko in forum Live Streaming and Encoder Discussion
    Replies: 9
    Last Post: 07-30-2015, 10:04 PM
  2. Playing rtsp in android without native player
    By stream4life in forum General Forum
    Replies: 2
    Last Post: 12-19-2013, 12:46 AM
  3. RTSP not working on android devices (ok on VLC)
    By shoeboxdnb in forum Live Streaming and Encoder Discussion
    Replies: 10
    Last Post: 12-05-2012, 11:28 AM
  4. RTSP/RTMP encoder to run on Android devices?
    By catdude in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 05-19-2012, 09:29 AM

Posting Permissions

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