livhub
TypeScript icon, indicating that this package has built-in type declarations

0.1.10 • Public • Published

livhub

livhub 是 livhub Web SDK 的主入口,通过 livhub 方法可以创建一个实时音视频通信的 livhub 对象和本地音视频流对象。

使用场景

API

Livhub

static VERSION

  • static VERSION: string Livhub 版本号

static create()

static createLocalStream()

static createRemoteStream()

static getCameras()

static getMicrophones()

static getSpeakers()

setOptions()

initialize()

createRemoteStream()

join()

leave()

isChannel()

sendBroadcastMessage()

publish()

unpublish()

checkSystemRequirements()

getUserList()

Stream

getTracks()

addTrack()

removeTrack()

getAudioTrack()

getVideoTrack()

setRender()

handleVideoEvent()

close()

muteAudio()

muteVideo()

unmuteAudio()

unmuteVideo()

getId()

setAudioOutput()

setAudioVolume()

getAudioLevel()

hasAudio()

hasVideo()

getVideoFrame()

LocalStream

initialize()

shareScreen()

switchDevice()

RemoteStream

initialize()

Readme

Keywords

none

Package Sidebar

Install

npm i livhub

Weekly Downloads

0

Version

0.1.10

License

none

Unpacked Size

299 kB

Total Files

6

Last publish

Collaborators

  • oexeon