录屏代码太复杂了 录屏结果 可以变成流媒体实时传给服务器 这个怎么写呢 求大佬看看 谢谢谢谢🙏🙏🙏🙏🙏
tghjnjvg opened this issue · comments
录屏代码太复杂了 录屏结果 可以变成流媒体实时传给服务器 这个怎么写呢
求大佬看看 谢谢谢谢🙏🙏🙏🙏🙏
firstly, i would say thanks for your issue.
and, reatime stream is really difficult for me. that need to add encode stream,push with rtmp or rtsp protocol. it is really really complex.
but, i can give you some suggestions,
pls look at https://github.com/android/media-samples .
this repo has record and encode data from camera,then save to disk. but it desnt publish to server.
i think that you has to establish a stream-server with rtsp or rtmp protocol.
you can buy a Raspberry Pi which you establish a stream-server on.
there is a better repo : https://github.com/eterrao/ScreenRecorder.