C
Need help with MediaProjectionDemo?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
deepsadness

Description

MediaProjection demo

137 Stars 52 Forks 22 Commits 4 Opened issues

Services available

Need anything else?

Android PC投屏简单尝试系列

简单说明

  • Android PC投屏简单尝试 通过MediaProjection和VirtualDisplay,使用ImageReader来获取屏幕的截屏,通过WebSocket传输,在网页端监听,进行投屏。 具体代码见

    screenop
    moduleMainActivity

  • Android PC投屏简单尝试2—录屏直播 通过MediaProjection和VirtualDisplay,使用MediaCodec将从Surface获取的数据进行编码,通过RTMP协议进行推流。 具体代码见

    codec
    module
    rtmp
    module

博客文章

简书位置

github位置

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.