Examples of IApplicationInstance


Examples of com.wowza.wms.application.IApplicationInstance

      if (!streamName.startsWith("push-"))
      {
     
        try
       
          IApplicationInstance appInstance = stream.getStreams().getAppInstance();
          File configFile = new File(configDir, (streamName + ".cnfg"));
          WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP : Config file name -> " + configFile.getName());

          if (configFile.exists() && configFile.isFile() && configFile.canRead()){
            loadConfigParameters(configFile);
          } else {
            WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP : Config file not found " + configFile.getName());
            return;
          }
         
          synchronized(publishers)
          {
            PushPublisherRTMP publisher = new PushPublisherRTMP();

            WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP : APPLICATION NAME ((" + appInstance.getApplication().getName() + "))");
            WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP : APPINSTANCE NAME ((" + appInstance.getName() + "))");
            WMSLoggerFactory.getLogger(null).info("PushPublisherRTMP : STREAM NAME (("+ streamName + "))");


            // Source stream
            publisher.setAppInstance(appInstance);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.