RSS

Tag Archives: player

Android: How to play RTSP or HLS video streams


Playing rtsp video streams seems to be a complex task in Android, but actually it is insane easy. Here is how.

  • Create a new project using Android Studio
  • Drag a VideoView control to the UI or add below code in the UI xml file:
<VideoView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/videoView" />

 

image   image

Read the rest of this entry »

Advertisements
 
7 Comments

Posted by on September 19, 2015 in Android, Programming

 

Tags: , , , , , , , , , ,