Code Monkey home page Code Monkey logo

multiavchatweb's Introduction

MultiAVChatWeb

MultiPlayer AVChatDemo for Web, powered by NIM web sdk.

Login Part

The UI is refer to https://app.yunxin.163.com/webdemo/im/login.html

Login part is just a fake login, save the account and password to Cookie, and share to the main.js for real login.

Main Part

After jump to this page Main.html, var nim = NIM.getInstance will connect the NIM server for AVChat signal Logic. For more NIM information please refer to : NIM init

After Login, we can strat a new Meeting, or Join a Meeting which is already existed. The function startMeeting will automatically create a new Meeting if the meeting that user input does not created before.

After Join Meeting , the following Logic you can refer to : NIM Meeting

I design four Container for Remote View, so this demo can support 5 people meeting. You can also find the Player's accid above his View.

NPM Deploy

Open this Project by vscode,run 'npm install -g live-server' in Terminal

Use vscode to open the project,npm in terminal to install :npm install -g live-server using live-server

multiavchatweb's People

Contributors

nicaldai avatar

Watchers

 avatar  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.