Options
All
  • Public
  • Public/Protected
  • All
Menu
deprecated

math 相关类型已经拆分之独立库中,请直接从独立库中导入相关变量。

example
import { Vector3, Matrix } from '@sheencity/diva-sdk'      // 旧
import { Vector3, Matrix } from '@sheencity/diva-sdk-math' // 新

Hierarchy

  • WebRtcAdapter

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new WebRtcAdapter(video: HTMLElement, socketUri: string): WebRtcAdapter
  • Parameters

    • video: HTMLElement
    • socketUri: string

    Returns WebRtcAdapter

Accessors

messageBus

  • get messageBus(): Observable<IParsedObject>

Methods

emitDivaCommand

  • emitDivaCommand(descriptor: IJsonRpcType | IJsonRpcType[]): void

load

  • load(): Promise<void>