All Projects → netease-kit → NIM_PC_Demo

netease-kit / NIM_PC_Demo

Licence: other
云信Windows(PC) C/C++ Demo源码仓库

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
Less
1899 projects
CSS
56736 projects

Projects that are alternatives of or similar to NIM PC Demo

Pandomium
Pandomium is the JCEF (Java Chromium Embedded Framework) implementation dedicated for the Maven based projects
Stars: ✭ 146 (-27%)
Mutual labels:  chromium, cef
Chromely
Build HTML Desktop Apps on .NET/.NET Core/.NET 5 using native GUI, HTML5, JavaScript, CSS
Stars: ✭ 2,728 (+1264%)
Mutual labels:  chromium, cef
Nim pc demo
云信Windows(PC) C/C++ Demo源码仓库
Stars: ✭ 147 (-26.5%)
Mutual labels:  chromium, cef
Cef4delphi
CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
Stars: ✭ 785 (+292.5%)
Mutual labels:  chromium, cef
cefgo
Go bindings for the Chromium Embedded Framework (CEF)
Stars: ✭ 20 (-90%)
Mutual labels:  chromium, cef
Journey
JCEF-powered cross-platform web browser
Stars: ✭ 68 (-66%)
Mutual labels:  chromium, cef
Bas
BrowserAutomationStudio can automate everything that Chrome can.
Stars: ✭ 203 (+1.5%)
Mutual labels:  chromium, cef
Journey
JCEF-powered cross-platform web browser
Stars: ✭ 85 (-57.5%)
Mutual labels:  chromium, cef
BlazorCefApp
Build windows desktop GUI app via CEF / WinForms / Blazor server-site
Stars: ✭ 28 (-86%)
Mutual labels:  chromium, cef
cef-mixer
High Performance off-screen rendering (OSR) demo using CEF
Stars: ✭ 183 (-8.5%)
Mutual labels:  chromium, cef
Cef2go
Go lang bindings for the Chromium Embedded Framework (CEF)
Stars: ✭ 780 (+290%)
Mutual labels:  chromium, cef
Uranium
Fast and versatile implementation of CEF for Unreal Engine
Stars: ✭ 51 (-74.5%)
Mutual labels:  chromium, cef
cefau3
Chromium Embedded Framework for AutoIt3
Stars: ✭ 23 (-88.5%)
Mutual labels:  chromium, cef
Chromium.swt
Chromium widget for SWT
Stars: ✭ 105 (-47.5%)
Mutual labels:  chromium, cef
chromium-swt
Create and render web UIs in Java SWT and Eclipse RCP applications.
Stars: ✭ 121 (-39.5%)
Mutual labels:  chromium, cef
Cefpython
Python bindings for the Chromium Embedded Framework (CEF)
Stars: ✭ 2,498 (+1149%)
Mutual labels:  chromium, cef
jcefbuild
Binary builds of java-cef
Stars: ✭ 160 (-20%)
Mutual labels:  chromium, cef
FoldingBrowser
FoldingCoin & CureCoin All-In-One Installer
Stars: ✭ 48 (-76%)
Mutual labels:  chromium, cef
NCUI
基于Duilib + CEF + NodeJs的类似 electron 的UI框架
Stars: ✭ 23 (-88.5%)
Mutual labels:  cef, duilib
OldCEF4Delphi
OldCEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi.
Stars: ✭ 55 (-72.5%)
Mutual labels:  chromium, cef

NetEase IM PC Demo

网易云信 PC IM Demo 是基于网易云信 PC SDK 制作的即时通讯示例程序,UI 库使用 NIM Duilib 制作

GitHub Actions Status

预览

preview

最低要求

  • CMake 3.10 或以上版本
  • Visual Studio 2017 或以上版本
  • Git

开发步骤

NIM Demo 从 8.4.0 版本开始使用 CMake 管理工程结构,您需要下载安装 CMake 并安装到系统中:https://cmake.org/download/

源代码脚本中使用 Git 和 CMake 指令根据当前仓库的提交信息、提交次数来动态生成的目录结构及 .rc 文件版本,您系统中必须安装 Git 客户端并推荐使用 git clone 下载代码而不是直接下载压缩包!

安装完成后,首先克隆项目到你的磁盘中:

git clone https://github.com/netease-im/NIM_PC_Demo.git --depth 1

执行如下命令进行工程初始化,如果你要编译 Release 版本,请替换命令中的 Debug 为 Release

# 初始化项目
cmake -Bbuild -G"Visual Studio 15 2017" -T"v141_xp" -DCMAKE_BUILD_TYPE=Debug

执行如上命令后,会自动下载依赖的三方库文件并解压到工程目录下,如执行无误您将看到如下信息:

############# nim_win_demo ##############
-- Downloading third party libraries from http://yx-web.nos.netease.com/package/1619524144/nim_demo_build_libraries_x86_debug.zip
-- Current git tag: 8.4.0, commit count: 772, describe: 8.4.0-2-gbe6c7fea
############# core #############
############# base #############
############# duilib #############
############# shared #############
############# db #############
############# transfer file P2P #############
############# av_kit #############
############# rtc_kit #############
############# capture_image #############
############# image_view #############
############# nim_service #############
############# ui_kit #############
############# cef_module #############
############# cef_render #############
############# libcef_dll_wrapper #############
############# app_sdk #############
############# nim_demo #############
############# nim demo uninstaller #############
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Code/nim_demo/build

您可以通过打开 build 目录下的 nim_win_demo.sln 来进行调试或通过 CMake 命令直接编译:

cmake --build build --config Debug --target INSTALL

编译完成后会自动拷贝程序到代码根目录的 bin 文件夹下:

Installing: C:/Jks/workspace/NeIM_Demo/pdb/render.pdb
Installing: C:/Jks/workspace/NeIM_Demo/bin/render.exe
Installing: C:/Jks/workspace/NeIM_Demo/pdb/nim_demo.pdb
Installing: C:/Jks/workspace/NeIM_Demo/bin/nim_demo.exe
Installing: C:/Jks/workspace/NeIM_Demo/pdb/uninstall.pdb
Installing: C:/Jks/workspace/NeIM_Demo/bin/uninstall.exe

如您需要编译 Release 版本,则将上面的命令中 Debug 修改为 Release 即可:

cmake -Bbuild -G"Visual Studio 15 2017" -T"v141_xp" -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release --target INSTALL

使用音视频 2.0 版本

Demo 支持使用音视频 2.0 能力来展示视频、音频通话场景,您可以在初始化 CMake 脚本时增加参数 BUILD_WITH_NERTC_G2 来开启该功能,如:

cmake . -Bbuild -G"Visual Studio 15 2017" -T"v141_xp" -DBUILD_WITH_NERTC_G2=ON -DCMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug --target install

交流

  • 遇到问题:关注云信开发人员手册帮助您理解和使用云信 SDK 接口
  • 提交缺陷:在确保使用最新版本依然存在问题时请尽量以简洁的语言描述清楚复现该问题的步骤并提交 Issue
  • 功能建议:如果你有什么好的想法或者提案,欢迎提交 Issue 与我们交流

#推荐好友使用云信,即享1500元京东卡奖励# 点击参与https://yunxin.163.com/promotion/recommend?channel=github main

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].