Handling two surfaceViews

后端 未结 2 949
盖世英雄少女心
盖世英雄少女心 2021-01-06 15:26

I have two surface Views 1> MediaRecorder display surfaceview. 2> MediaPlayer SurfaceView displaying the Media recorded by MediaRecorder.

I want to display both the

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-06 16:04

    As of Android 2 (API level 5) having 2 surfaceviews is supported. You can set the zOrder of the 2 surface views using setZOrderMediaOverlay although apparently it breaks the intended semantics of SurfaceView.

提交回复
热议问题