Android: Simultaneous video playback and recording

*爱你&永不变心* 提交于 2019-12-06 03:29:17

问题


I'm developing a video chat like application for Android. Can I record and play video on the screen at the same time? Can I compose the videos over one another (FaceTime style) or do the y have to be side by side? Can I use the MediaPlayer and MediaRecorder classes or do I have to use lower level APIs?


回答1:


Avner,

To answer to your question bit wise

1> Can I record and play video on the screen at the same time? Ans : yes you can.

2> Can I compose the videos over one another (FaceTime style) or do the y have to be side by side?

Ans: You can not have PIP(Picture in picture) (http://stackoverflow.com/questions/4521674/handling-two-surfaceviews)

you can go for a side by side option.

3> Can I use the MediaPlayer and MediaRecorder classes or do I have to use lower level APIs? ans: yes you can use these.



来源:https://stackoverflow.com/questions/5853842/android-simultaneous-video-playback-and-recording

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!