-1

I need create an application desktop in Java that can read the desktop and microphone and create a stream of audio/video to export in rtmp or other format.

1 Answers1

0

Use this for capturing the Screen:

Robot r = null;

    try {
        r = new Robot();
    } catch (AWTException e) {
        e.printStackTrace();
    }

    BufferedImage img = r.createScreenCapture(GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds());

This will help you to record the audio.

Community
  • 1
  • 1
Clyme
  • 84
  • 2
  • 12