void Events_MediaInstanceError(object sender, Declarations.VLM.VlmEvent e) { UISync.Execute(() => labStatus.Text = "组播失败 "); showMessage("组播出错,请检查URL各个设备时候能正常访问"); UISync.Execute(() => btnStop.PerformClick()); //showMessage(e.ToString()); /** if (msStatus.ServerStatus == STATUS.Running) msStatus.ServerStatus = STATUS.Stop; * UISync.Execute(() => btnStart.Enabled = true); * UISync.Execute(() => btnStop.Enabled = false); * UISync.Execute(() => groupAdd.Enabled = true); * UISync.Execute(() => groupSetup.Enabled = true);*/ }
void Events_MediaInstancePlaying(object sender, Declarations.VLM.VlmEvent e) { UISync.Execute(() => labStatus.Text = "组播完成"); }
void Events_MediaInstanceStopped(object sender, Declarations.VLM.VlmEvent e) { UISync.Execute(() => labStatus.Text = "组播停止"); }