• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Delay in starting RTSP on-demand audio streaming

Hi,

I am using RTSP streaming in our Android App,currently android mediaplayer always tries RTSP UDP (RTP/AVP/UDP) method to connect with RTSP server.

If Android MediaPlayer does not receive the data on its UDP ports..it timesout and then tries RTSP TCP interleaved (RTP/AVP/TCP). This is fine but it introduces delay of 10 secs or so. I want to avoid this delay, and force Android MediaPlayer to always use RTSP TCP interleaved (RTP/AVP/TCP) for my streaming URLs.

Is there any API that allows me to do so.

Thanks in Advance.
 
Back
Top Bottom