|
@@ -61,7 +61,7 @@ namespace Common.system
|
61
|
61
|
Thread.Sleep(100);
|
62
|
62
|
}
|
63
|
63
|
ErrMessage = null;
|
64
|
|
- string RTMPPathName = "rtmp://" + RTMPPath + "/" + NodeKey;//rtmp://live.xhkjedu.com/live/test
|
|
64
|
+ string RTMPPathName = "rtmp://" + RTMPPath + "/" + NodeKey;//rtmp://live2.xhkjedu.com/live/test
|
65
|
65
|
Process[] KillProcessArray = Process.GetProcessesByName("ffmpeg");
|
66
|
66
|
foreach (Process KillProcess in KillProcessArray)
|
67
|
67
|
{
|
|
@@ -122,7 +122,7 @@ namespace Common.system
|
122
|
122
|
}
|
123
|
123
|
}
|
124
|
124
|
|
125
|
|
- myProcess.StartInfo.Arguments = SpeakerStr + MicrophoneStr + " -f gdigrab -framerate 6 -offset_x 0 -offset_y 0 -video_size " + size.Width + "x" + size.Height + " -i desktop -pix_fmt yuv420p -vf scale=trunc(iw/2)*2:trunc(ih/2)*2 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -acodec aac -f flv " + RTMPPathName;
|
|
125
|
+ myProcess.StartInfo.Arguments = SpeakerStr + MicrophoneStr + " -f gdigrab -framerate 6 -offset_x 0 -offset_y 0 -video_size " + size.Width + "x" + size.Height + " -i desktop -pix_fmt yuv420p -vf scale=trunc(iw/4)*2:trunc(ih/4)*2 -r 15 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -acodec aac -f flv " + RTMPPathName;
|
126
|
126
|
|
127
|
127
|
if (OutputVideoLog)
|
128
|
128
|
{
|