Art*_*ves 5 android screen rtmp live-streaming http-live-streaming
我一直在使用MediaProjection API在 Android 上录制屏幕,我想直播到我的服务器。我尝试过MediaRecorder和ParcelFileDescriptor,但什么也没有,还有MediaCodec。
我能做的最好的事情就是使用ImageReader流式传输到 RTMP 服务器,生成 RGBA 帧并在流式传输之前转换为 YUV ,但这会导致FPS非常低,因为转换需要时间并且 ImageReader 本身只生成几个 fps。
| 归档时间: |
|
| 查看次数: |
2736 次 |
| 最近记录: |