user1767754
user1767754

Reputation: 25134

Can Android natively play udp / RTP /RTSP Streams?

I am a bit confused, is it possible to receive UDP / RTSP Streams with the Android SDK? I've searched for some solution, but obviously they are just forwarding the request to the android native player or vlc. I would like to playback a video-feed in a surface-view for example.

Is it possible to receive streams without using third-party api's like ffmpeg?

Upvotes: 3

Views: 12812

Answers (1)

mstorsjo
mstorsjo

Reputation: 13317

Yes, you can use e.g. the android.media.MediaPlayer class to do this. See http://developer.android.com/guide/topics/media/mediaplayer.html for more information about how to do it.

Upvotes: 3

Related Questions