I am able to record a stream to disk using examples found on the net. However, what I would like to do is (1) start playing a stream (2) x seconds later start recording that stream (3) y seconds later stop recording. However, if there is a way to do that without creating a new Media stream and/or MediaPlayer I can't find out how.
From experimentation I have found that changing the Media options appears to do nothing.
Starting a new player is a problem due to the startup lag time.
Is there a way to do this I haven't found?