Package net.sf.fmj.ui.wizards

Examples of net.sf.fmj.ui.wizards.TrackConfig


    prefs.recentUrls.add("http://towercam.uu.edu/axis-cgi/mjpg/video.cgi"); // sample IP camera, streaming MJPG
    prefs.recentUrls.add("http://www.easylife.org/386dx/smells.mp3"); // just being silly now
     
   
    prefs.rtpTransmitWizardConfig.url = "file://samplemedia/gulp2.wav";
    prefs.rtpTransmitWizardConfig.trackConfigs = new TrackConfig[] {new TrackConfig(true, new AudioFormat(AudioFormat.ULAW_RTP, 8000.0, 8, 1, AudioFormat.LITTLE_ENDIAN, AudioFormat.SIGNED))};
    prefs.rtpTransmitWizardConfig.destUrl = "rtp://192.168.1.4:8000/audio/16"; //RTPUrlParser.parse("rtp://192.168.1.4:8000/audio/16");

    prefs.transcodeWizardConfig.url = "file://samplemedia/gulp2.wav";
    prefs.transcodeWizardConfig.contentDescriptor = new FileTypeDescriptor(FileTypeDescriptor.WAVE);
    prefs.transcodeWizardConfig.trackConfigs = new TrackConfig[] {new TrackConfig(true, new AudioFormat(AudioFormat.LINEAR, 8000.0, 8, 1, -1, AudioFormat.UNSIGNED))};
    prefs.transcodeWizardConfig.destUrl = URLUtils.createUrlStr(new File(PathUtils.getTempPath(), "gulp2-transcoded.wav"));
    // TODO: format
   
    savePrefs();
  
View Full Code Here


      {
        final List trackConfigElements = e.getChildren("track-config");
        final TrackConfig[] trackConfigs = new TrackConfig[trackConfigElements.size()];
        for (int j = 0; j < trackConfigElements.size(); ++j)
        {
          trackConfigs[j] = new TrackConfig();
         
          final Element e2 = (Element) trackConfigElements.get(j);
         
          // enabled
          {
View Full Code Here

     
      final Element e = new Element("track-configs");
      element.addContent(e);
      for (int i = 0; i < processorWizardConfig.trackConfigs.length; ++i)
      {
        final TrackConfig trackConfig = processorWizardConfig.trackConfigs[i];
       
        final Element e2 = new Element("track-config");
        e.addContent(e2);
       
        // enabled:
View Full Code Here

TOP

Related Classes of net.sf.fmj.ui.wizards.TrackConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.