資源簡介
(1)將服務端部署到一臺服務器上,然后啟動OMCS.Server.exe。
(2)修改客戶端配置文件中的服務器的IP,在一臺機器上啟動客戶端,登錄一個帳號,比如aa01.
(3)在另一臺機器上啟動客戶端,登錄另一個帳號,比如aa02.
(4)aa01可以在主界面的TextBox中中輸入aa02,并點擊后面的按鈕,來連接aa02的視頻。
(5)aa02也可以在其UI中輸入aa01,并點擊后面的按鈕,來連接aa01的視頻。
(6)測試視訊時,兩個客戶端最好在不同的房間。
(7)測試白板時,需要連接到同一個用戶的白板,才能協同。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Windows.Forms;
using?OMCS.Passive;
using?System.Configuration;
/*
?*?本demo采用的是OMCS的免費版本,若想獲取OMCS其它版本,請聯系?www.oraycn.com?或?QQ:168757008。
?*?
?*/
namespace?OMCS.Demos.Simplest.Client
{
????static?class?Program
????{
????????[STAThread]
????????static?void?Main()
????????{
????????????try
????????????{
????????????????Application.EnableVisualstyles();
????????????????Application.SetCompatibleTextRenderingDefault(false);
????????????????LoginForm?loginForm?=?new?LoginForm();
????????????????if?(loginForm.ShowDialog()?!=?DialogResult.OK)
????????????????{
????????????????????return;
????????????????}
????????????????IMultimediaManager?multimediaManager?=?MultimediaManagerFactory.GetSingleton();??????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-03-02?11:11??2.OMCS.Demos.WPF\
?????目錄???????????0??2017-03-02?11:11??2.OMCS.Demos.WPF\.vs\
?????目錄???????????0??2017-03-02?11:11??2.OMCS.Demos.WPF\.vs\OMCS.Demos.Simplest\
?????目錄???????????0??2017-03-02?11:11??2.OMCS.Demos.WPF\.vs\OMCS.Demos.Simplest\v14\
?????文件??????185856??2017-03-02?11:12??2.OMCS.Demos.WPF\.vs\OMCS.Demos.Simplest\v14\.suo
?????文件?????????495??2017-03-02?11:10??2.OMCS.Demos.WPF\Demo說明.txt
?????目錄???????????0??2017-02-14?10:01??2.OMCS.Demos.WPF\dlls\
?????文件??????423936??2017-01-09?16:42??2.OMCS.Demos.WPF\dlls\ESBasic.dll
?????文件??????209604??2016-12-01?09:16??2.OMCS.Demos.WPF\dlls\ESBasic.xm
?????文件??????328704??2016-12-07?17:07??2.OMCS.Demos.WPF\dlls\OMCS.Boost.dll
?????文件???????38573??2016-12-07?17:07??2.OMCS.Demos.WPF\dlls\OMCS.Boost.xm
?????文件?????2338816??2017-01-10?09:08??2.OMCS.Demos.WPF\dlls\OMCS.dll
?????文件??????840708??2017-01-10?09:07??2.OMCS.Demos.WPF\dlls\OMCS.xm
?????目錄???????????0??2017-02-14?10:01??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\
?????文件???????16958??2011-04-23?11:07??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\64.ico
?????文件?????????207??2012-05-14?09:15??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\App.config
?????目錄???????????0??2017-02-14?11:27??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\
?????目錄???????????0??2017-02-14?10:01??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\
?????文件?????2866688??2016-12-01?09:42??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\AudioEngineCore.dll
?????文件??????121344??2016-12-01?09:42??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\dxba
?????文件??????423936??2017-01-09?16:42??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\ESBasic.dll
?????文件??????209604??2016-12-01?09:16??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\ESBasic.xm
?????文件??????328704??2016-12-07?17:07??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Boost.dll
?????文件???????38573??2016-12-07?17:07??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Boost.xm
?????文件???????67584??2017-02-14?15:01??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Demos.Simplest.exe
?????文件?????????207??2012-05-14?09:15??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Demos.Simplest.exe.config
?????文件???????65024??2017-02-14?15:01??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Demos.Simplest.pdb
?????文件???????11608??2016-03-20?17:13??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Demos.Simplest.vshost.exe
?????文件?????????207??2012-05-14?09:15??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Demos.Simplest.vshost.exe.config
?????文件?????????490??2010-03-17?22:39??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.Demos.Simplest.vshost.exe.manifest
?????文件?????2338816??2017-01-10?09:08??2.OMCS.Demos.WPF\OMCS.Demos.Simplest.Client\bin\Debug\OMCS.dll
............此處省略232個文件信息
- 上一篇:C# 上傳文件至阿里云OSS
- 下一篇:c# 調用攝像頭 (可持續拍照)
評論
共有 條評論