some.birdie
some.birdie

Reputation: 2269

Does Android support RTP/AVP/TCP?

I am writing a RTSP client in Android for streaming video using Android SDK. For connecting to RTSP server Android client sends RTP/AVP/UDP as transport option in SETUP command so UDP is used for transport. But I want to use TCP for transport. What should I do so that client will send RTP/AVP/TCP instead of RTP/AVP/UDP? Does Android support TCP transport for RTSP streaming?

Upvotes: 2

Views: 2983

Answers (1)

Anuj
Anuj

Reputation: 389

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)

Most Android devices support RTSP/RTP streaming. Newer Android devices that are running version 2.2 or greater (Froyo) also support Flash player 10.1 and can play RTMP and Flash HTTP streams. 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.

Upvotes: 2

Related Questions