build: 修改到可编译成功
This commit is contained in:
@@ -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);
|
||||
|
||||
BIN
WebRTCControlled/app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
BIN
WebRTCControlled/app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
BIN
WebRTCControlled/app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
WebRTCControlled/app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
WebRTCControlled/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
BIN
WebRTCControlled/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.7 KiB |
BIN
WebRTCControlled/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
BIN
WebRTCControlled/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
BIN
WebRTCControlled/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
BIN
WebRTCControlled/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user