Browse Source

录制

tags/录制修改前
zhangxueyang 4 years ago
parent
commit
2dfd1932e2
2 changed files with 1 additions and 2 deletions
  1. 1
    1
      Common/system/FFMpeg.cs
  2. 0
    1
      XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs

+ 1
- 1
Common/system/FFMpeg.cs View File

90
             myProcess.StartInfo.FileName = FileToolsCommon.GetFileAbsolutePath(@"/ffmpeg/bin/ffmpeg.exe");   //ffmpeg.exe的绝对路径
90
             myProcess.StartInfo.FileName = FileToolsCommon.GetFileAbsolutePath(@"/ffmpeg/bin/ffmpeg.exe");   //ffmpeg.exe的绝对路径
91
             string SpeakerStr = "";
91
             string SpeakerStr = "";
92
             string MicrophoneStr = "";
92
             string MicrophoneStr = "";
93
-            if (IsRecordSpeaker)
93
+            if (/*IsRecordSpeaker*/true)
94
             {
94
             {
95
                 SpeakerStr = "-f dshow -i audio=\"virtual-audio-capturer\" ";
95
                 SpeakerStr = "-f dshow -i audio=\"virtual-audio-capturer\" ";
96
             }
96
             }

+ 0
- 1
XHWK.WKTool/XHMicroLessonSystemWindow.xaml.cs View File

1110
                 InitializeUpload();
1110
                 InitializeUpload();
1111
             }
1111
             }
1112
             //btnStop.IsEnabled = true;//停止录制按钮可点击
1112
             //btnStop.IsEnabled = true;//停止录制按钮可点击
1113
-            StartRecord();
1114
         }
1113
         }
1115
         /// <summary>
1114
         /// <summary>
1116
         /// 初始化上传
1115
         /// 初始化上传

Loading…
Cancel
Save