小编Tut*_*eil的帖子

我想使用纯 javaScript 通过 webRTC 进行点对点视频聊天

我是 webRTC 新手,我编写了一个视频聊天代码,它已成功执行,我不想使用scaledrone。我想使用纯JavasCript。我该怎么做请帮助我

html 和 CSS

<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <style>
    body {
      display: flex;
      height: 100vh;
      margin: 0;
      align-items: center;
      justify-content: center;
      padding: 0 50px;
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    }
    video {
      max-width: calc(50% - 100px);
      margin: 0 50px;
      box-sizing: border-box;
      border-radius: 2px;
      padding: 0;
      box-shadow: rgba(156, 172, 172, 0.2) 0px 2px 2px, rgba(156, 172, 172, 0.2) 0px 4px 4px, rgba(156, 172, 172, 0.2) 0px 8px 8px, rgba(156, 172, 172, 0.2) 0px 16px 16px, rgba(156, 172, …
Run Code Online (Sandbox Code Playgroud)

html javascript webrtc simplewebrtc

5
推荐指数
1
解决办法
1695
查看次数

标签 统计

html ×1

javascript ×1

simplewebrtc ×1

webrtc ×1