5.0.0-RC3 • Published 13 days ago

metadigiee-api v5.0.0-RC3

Weekly downloads
-
License
BSD
Repository
-
Last release
13 days ago

MetadigieeApi

版本说明:
a.b.c-x
a.b.c需要对应相应底座版本 x为热修复版本

Quick Start

页面中

<!-- RoadMAP 需要全局唯一的标签 -->
<div id="metadigiee-video-player"></div>

js 部分 适用于 webpack/vite umd 包

文档详见 https://doc.metadigiee.com

import MetadigieeApi from 'metadigiee-api'
const { Service } = MetadigieeApi
async function openService() {
  let openService = document.getElementById('openService')
  /**
   * 需要开放的端口:
   *        底座服务      tcp: 22222/22223  分别对应 http/ws  https/wss
   *        webrtc服务    udp: 50000~65535
   *  */
  const params = { host: '底座服务器IP地址', port: 22222, scene: '场景名称' }
  try {
    if (openService.checked) {
      let res = await Service.openService(params)
      console.log('=> openService(): ', JSON.stringify(res))
    } else {
      await Service.closeService(params)
    }
  } catch (error) {
    console.log(error)
  }
}

/**
 * todo 其余api调用
 *
 *
 * 特殊说明
 *
 * 所有api均需要等待上一次调用完成,请使用 async await 的方式进行开发
 *
 * */

Vite-VUE3 Demo

5.0.0-RC3

13 days ago

4.5.4-1

2 months ago

5.0.0

2 months ago

4.5.4-test1

2 months ago

4.5.4-test

3 months ago

4.5.4

4 months ago

4.5.3

4 months ago

4.5.2-test-1

4 months ago

4.5.2-test

5 months ago

4.5.2

5 months ago

4.5.1

5 months ago

4.4.2-1

7 months ago

4.4.1-2

8 months ago

4.4.2-2

7 months ago

4.4.1-3

8 months ago

4.4.2-3

7 months ago

4.4.1-4

8 months ago

4.4.2-4

7 months ago

4.5.0

6 months ago

4.4.3

7 months ago

4.4.2

7 months ago

4.4.0-1

8 months ago

4.4.1-1

8 months ago

4.4.0-2

8 months ago

4.3.2-11

8 months ago

4.4.1

8 months ago

4.3.2-8

8 months ago

4.4.0

8 months ago

4.3.2-9

8 months ago

4.3.2-10

8 months ago

4.3.2-4

9 months ago

4.3.2-5

9 months ago

4.3.2-6

8 months ago

4.3.2-7

8 months ago

4.3.2-3

9 months ago

4.3.2-2

9 months ago

4.3.2-1

9 months ago

4.3.2

9 months ago

4.3.1

9 months ago