安卓:同步视频播放和录制 [英] Android: Simultaneous video playback and recording
问题描述
我正在开发类似的应用程序为Android视频聊天。我可以记录并在屏幕上播放视频的同时?我可以撰写的影片做一团(FaceTime的风格),或者做y的并列成为一面?我可以使用的MediaPlayer和MediaRecorder类或做我必须使用较低级别的API?
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?
推荐答案
阿夫纳,
要回答你的问题有点聪明
To answer to your question bit wise
1>我可以记录并在屏幕上播放视频的同时? 答:是的,您可以
1> Can I record and play video on the screen at the same time? Ans : yes you can.
2>能否构成了影片做一团(FaceTime的风格),或者做y的并列成为一面?
2> Can I compose the videos over one another (FaceTime style) or do the y have to be side by side?
答:你不能有PIP(画中画)(http://stackoverflow.com/questions/4521674/handling-two-surfaceviews)
Ans: You can not have PIP(Picture in picture) (http://stackoverflow.com/questions/4521674/handling-two-surfaceviews)
您可以去并排的选择。
3>我可以使用的MediaPlayer和MediaRecorder类或做我必须使用较低级别的API? 答:是的,你可以使用这些
3> Can I use the MediaPlayer and MediaRecorder classes or do I have to use lower level APIs? ans: yes you can use these.
这篇关于安卓:同步视频播放和录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!