Hi All, I am developing a MediaPlayer application. I have some questions about timeout of MediaPlayer in case of live stream data not received.
I am using the MediaPlayer to play live stream over RTP. RTSP is used to connect to the live stream. Video and audio is fine in normal case. In case of issues like network connection drop, the live Media does not reach the player and the player buffer dries up. The MediaPlayer sends a RTSP OPTIONS request to check whether the server is active, and the server sends back the appropriate reply. But after about 20 sec of waiting, the MediaPlayer sends RTSP TEARDOWN and ends the connection. I have the following questions, 1) What is the minimum and Maximum buffer level of the MediaPlayer? As far as I know these values are not configurable 2) What is the timeout value after which the MediaPlayer sends OPTIONS request to check whether server is still active 3) Is there any way make MediaPlayer wait longer for the Live stream, before sending the TEARDOWN? For testing, I am using a local RTSP server (FFMPeg) that streams video over RTSP. Regards, Yadnesh -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en