Skip to content

psyai-net/2DPaaS-InteractiveHuman-WebDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2DPaaS-InteractiveHuman-WebDemo

简介

流程

  1. 【Web】获取本地SDP(记为local_sdp)
  2. 【接口请求】session/start 选择协议webrtc,并携带local_sdp信息
    let data = {
        "virtualmanKey":`${virtualmanKey}`,
        "protocol":"webrtc",
        "localSDP": `${loca_sdp}`
    }
  3. 解析response中的playStreamAddr作为 remote_sdp
  4. 使用remote_sdp连接webrtc

require

npm

安装依赖:

npm install live-server@latest

启动网页:

live-server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published