Giter VIP home page Giter VIP logo

nim_macos_avchat_demo's Introduction

macOSAVChatDemo 源码导读

工程概述

网易云信SDK支持 iOS 、 Android 、 Windows 、 macOS 等多个平台,macOSAVChatDemo主要集成了网易云信macOS SDK,主要展示了1对1音频、1对1视频通话、多人音视频通话能力。

macOSAVChatDemo主要演示的功能有

  • 1对1音频通话发起、接听、拒绝、挂断等功能

  • 1对1视频通话发起、接听、拒绝、挂断等功能

  • 音频、视频通话模式切换功能

  • 多人音视频通话加入、离开等功能

  • 视频通话时一键美颜功能

  • 打开关闭摄像头

  • 静音/静音麦克风

目录结构

└── NIMmacOSAVChatDemo/Classes                 # 云信 macOS 音视频工程
    ├── UI                                     # UI 界面交互层
    ├── Manager                                # 业务管理层
    ├── Category                               # Category 工具
    ├── Config                                 # Demo 相关配置
    └── Util                                   # 一些公共类
  • UI 层 :包括登录界面,点对点音视频发起界面,通话界面,多人音视频通话界面。
  • Manager 层 :包括登录,日志,通知等管理类。

UI界面交互层介绍

UI 界面交互层 :包括登录及音视频通话两大功能的界面交互逻辑。

  • 登录 NTESLoginController 包含登陆相关界面交互逻辑。
  • 音视频通话
    • 音视频通话接听 NTESChatNotificationController 包含点对点及多人接听相关界面交互逻辑。
    • 点对点音视频通话 NTESP2PChatViewController 包含点对点发起及通话相关界面交互逻辑。
    • 多人音视频通话 NTESMeetingChatViewController 包含多人通话相关界面交互逻辑。

程序运行

  • 运行环境:macOS 10.12及以上

  • 开发语言:Objective-C

  • 登录账号获取:请在网易云信官网 即时通讯PC DemoAOS DemoiOS DemoWeb Demo注册账号,用注册成功的账号登录macOSAVChatDemo

相关能力开发文档源码参考

Q&A

Q: macOSAVChatDemo的登录账号该怎么获取呢?

A: 在网易云信官网 即时通讯PC Demo AOS Demo iOS DemoWeb Demo注册账号,然后用该账号登录macOSAVChatDemo,不久将在Demo上增加注册账号源码,尽情期待。

Q: macOSAVChatDemo除了和macOSAVChatDemo互通外,可以和其他端互通演示吗?

A: 目前 点对点macOSAVChatDemo除了和macOSAVChatDemo互通外,还可以和即时通讯PC Demo AOS DemoiOS DemoWeb Demo 中的音视频通话互通;多人macOSAVChatDemo除了和macOSAVChatDemo互通外,还可以和即时通讯PC Demo AOS Demo iOS DemoWeb Demo 中的音视频通话互通,目前还没有在macOSAVChatDemo作音视频通话发起,不久将在Demo上增加此功能,尽情期待。

Q: 如何在源码中发现bug、集成过程中、售前、售后遇到问题该怎么办呢?

A: 如果发现源码中发现bug,请提交到Issue,如果在集成过程中遇到问题,请到易云社区提问,如果售前咨询,请联系4009-000-123,如果售后遇到问题,请提交工单,我们会即时响应处理。

nim_macos_avchat_demo's People

Contributors

allday2010 avatar

Watchers

James Cloos avatar wincc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.