Android 4.1 - RTSP using VideoView and MediaController

前端 未结 2 786
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 10:08

Developing a simple app to play a RTSP stream on Android 4.1, but unable to do so

Update

I am able Able to play if I use BigBuckBunny_115k.m

2条回答
  •  长情又很酷
    2020-12-31 10:49

    another good solution for playing RTSP, using the native player.

    mediaURL = "rtsp://192.168.0.119/Bolt.ts" 
    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(mediaURL));
    startActivity(intent);  
    

提交回复
热议问题