build: 修改到可编译成功

This commit is contained in:
2026-07-13 11:41:48 +08:00
parent 87f98799f7
commit 32a9cdbc1b
19 changed files with 20 additions and 13 deletions

View File

@@ -162,16 +162,8 @@ public class ScreenCaptureService extends Service {
webRtcClient.setInputCallback(commandJson -> inputHandler.handleCommand(commandJson));
// 初始化屏幕捕获
screenCapturer = new ScreenCapturerAndroid(resultData, new ScreenCapturerAndroid.Callback() {
@Override
public void onCapturerStarted(boolean success) {
Log.d(TAG, "Screen capture started: " + success);
}
screenCapturer = new ScreenCapturerAndroid(resultData, new MediaProjection.Callback() {
@Override
public void onCapturerStopped() {
Log.d(TAG, "Screen capture stopped");
}
});
webRtcClient.setVideoCapturer(screenCapturer);

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB