コード例 #1
0
 private void ProcessAllSingleFileVideo()
 {
     //Read congifuration from Table in aech iteration
     Config();
     if (Active)
     {
         ButlerEncoderPublish myHelp = new ButlerEncoderPublish(MediaAccountName, MediaAccountKey, wamsBulterConn, AppId);
         myHelp.ProfileFileDirectory = Path.GetFullPath(@".\configFile\");
         myHelp.ProcessNewVideos(ExternalStorageConn, ExternalStorageContainer, AssetStorageConn);
     }
     else
     {
         Trace.TraceWarning("Worker Role Butler is not Active");
     }
 }
コード例 #2
0
ファイル: WorkerRole.cs プロジェクト: sabbour/WAMSVODButler
        private void ProcessAllSingleFileVideo()
        {
            //Read congifuration from Table in aech iteration
            Config();
            if (Active)
            {
                ButlerEncoderPublish myHelp = new ButlerEncoderPublish(MediaAccountName, MediaAccountKey, wamsBulterConn, AppId);
                myHelp.ProfileFileDirectory = Path.GetFullPath(@".\configFile\");
                myHelp.ProcessNewVideos(ExternalStorageConn, ExternalStorageContainer, AssetStorageConn);
            }
            else
            {
                Trace.TraceWarning("Worker Role Butler is not Active");
            }

        }