Local test loop letter Web H5 video

H5 Demo direct line test access H5 Demo
said here at a local test account into their own experience H5 demo, real-time video capabilities

###Ready to work###

  • H5 SDK + Demo download to a local source, click to download
  • Local Node, Npm environment, install Node

### ### up and running

  1. Check the Local Node, Npm version information, input $node -v,$npm -v
  2. Into local download of the demo, then$npm i
    Write pictures described here
  3. In the folder sdk, webrtc, under emedia respectively $npm link, go to Demo $npm link easemob-websdk, $npm link easemob-webrtc,$npm link easemob-emedia
    Write pictures described here
  4. Now change under his APPKEY, find WebIMConfig.js edit it in / demo / src / config directory $vim WebIMConfig.js, to see what iwould appear INSERTto be directly edited, and then press ESC, :wqsave and exit, and then through $cat WebIMConfig.jsthe contents of the edit view
  5. Because the video function must be https, so HTTPS=true npm startyou can start the service, the browser will be out this prompt, click Advanced - continue to
    Write pictures described here
    the end, look at renderings after the successful landing
    Write pictures described here

Guess you like

Origin blog.csdn.net/qq_43128835/article/details/82664852