Skip to content

Commit

Permalink
去掉调试信息
Browse files Browse the repository at this point in the history
  • Loading branch information
chatop committed Nov 26, 2020
1 parent 5c1399b commit e51425b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions StreamMediaServerKeeper/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ private static void KeepAlive()
ReqMediaServerReg req = null;
if (i == 1 || i % 5 == 0 )
{
// MySystemInfo = new ResGetSystemInfo();

req = new ReqMediaServerReg()
{
Ipaddress = MyIPAddress,
Expand Down Expand Up @@ -454,7 +454,7 @@ private static void KeepAlive()
}
else
{
Logger.Logger.Debug("DDDDD->"+httpRet);

if (ProcessApis.CheckIsRunning(out _) == 0)
{
ProcessApis.RunServer(out _); //如果正常返回,但是流媒体没启动,则启动流媒体
Expand All @@ -474,7 +474,7 @@ private static void KeepAlive()
}
catch (Exception ex)
{
MySystemInfo = null;

Logger.Logger.Error("报错了-> " + ex.Message + " -> " + ex.StackTrace);
continue;
}
Expand Down

0 comments on commit e51425b

Please sign in to comment.