media - JMF microphone volume controller -
How to obtain a microphone volume controller in JMF? I have this idea: I tried to conceive of this implementation, but when I try to get the stream, then one vacuum from the first volume processor Here's how I do it: // Device media device is a special processor processoroforvolume = manager.createprocessor (device.lawaketer ()); // Wait until you configure ProcessorStates newState = new ProcessorStateListener (Processor.). Watforescence (processoroforvolum); System.out.println ("Volumeprocetate:" + Newestate); // Setting to clear content emptiness - Reading in the second thread allows this gain control processor to receive ForVolume.setContentDescriptor (null); // Track control format Set up someone supported by device and track control. // I do not match it in any RTP format, but I do not think there is anything to do with it ... TrackControl [] trackControls = processorForVolume.getTrackControls (); If (trackControls.length == 0) throw the new MC_Exception (...