Media Projection run on Chromebook

26 views
Skip to first unread message

steven peng

unread,
Apr 24, 2025, 9:25:33 AMApr 24
to ChromiumOS Development
We are using Media Projection's Virtual Display output to a MediaCodec input surface as the source for an RTSP server on an Android device, and everything works fine. The transmission frame rate can reach close to 90 FPS (tested on Pixel 6 Android 14). However, after porting it to Chromebook (ARCVM Android 13), we get a completely black screen. If we switch to using ImageReader to provide the surface, both Android and Chromebook can capture the full-screen display. In the ImageReader's OnImageAvailableListener, we can calculate the FPS, which is approximately 60 FPS on Android and 5-7 FPS on Chromebook. Does anyone have relevant experience to improve or fix  the Media Projection run on Chromebook?  

Thanks for HELP!!
Reply all
Reply to author
Forward
0 new messages